Created
March 29, 2021 18:56
-
-
Save omerasif57/2387c9ff82cda34d375a099b9d4c6d2f to your computer and use it in GitHub Desktop.
bottom appbar elevation plus rounded
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bottomNavigationBar: Padding( | |
padding: const EdgeInsets.all(8.0), | |
child: Container( | |
decoration: BoxDecoration(boxShadow: [ | |
BoxShadow( | |
blurRadius: 4.0, | |
offset: Offset(0.0, 0.0), | |
color: Colors.grey, | |
), | |
], borderRadius: BorderRadius.circular(36.0)), | |
child: ClipRRect( | |
borderRadius: BorderRadius.circular(36.0), | |
child: BottomAppBar( | |
// elevation: 8.0, | |
// shape: | |
color: Colors.white, | |
child: IconTheme( | |
data: IconThemeData( | |
color: Theme.of(context).colorScheme.onPrimary), | |
child: Row( | |
children: [ | |
IconButton( | |
tooltip: 'Open navigation menu', | |
icon: const Icon( | |
Icons.settings, | |
color: Colors.blue, | |
), | |
onPressed: () {}, | |
), | |
], | |
), | |
), | |
), | |
), | |
), | |
), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment