design: Style bottom navigation bar in backgroundcolor

This commit is contained in:
krille-chan 2023-07-23 06:45:13 +02:00
commit ee12843d65
No known key found for this signature in database
2 changed files with 66 additions and 54 deletions

View file

@ -176,7 +176,12 @@ class ChatListView extends StatelessWidget {
body: ChatListViewBody(controller),
bottomNavigationBar: controller.displayNavigationBar
? NavigationBar(
elevation: 4,
height: 64,
shadowColor:
Theme.of(context).colorScheme.onBackground,
surfaceTintColor:
Theme.of(context).colorScheme.background,
selectedIndex: controller.selectedIndex,
onDestinationSelected:
controller.onDestinationSelected,