From 9d04593479a72f89fb42998f53a082786b8dc254 Mon Sep 17 00:00:00 2001 From: Vadim <44135514+vodemn@users.noreply.github.com> Date: Fri, 8 Aug 2025 13:37:33 +0200 Subject: [PATCH] fixed bottom navigation bar behaviour --- .../shared/sliver_screen/screen_sliver.dart | 22 ++++++++++++------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/lib/screens/shared/sliver_screen/screen_sliver.dart b/lib/screens/shared/sliver_screen/screen_sliver.dart index cae353d..22f3029 100644 --- a/lib/screens/shared/sliver_screen/screen_sliver.dart +++ b/lib/screens/shared/sliver_screen/screen_sliver.dart @@ -25,18 +25,24 @@ class SliverScreen extends StatelessWidget { body: SafeArea( top: false, bottom: false, - child: CustomScrollView( - slivers: [ - _AppBar( - title: title, - appBarActions: appBarActions, - bottom: bottom, + child: Column( + children: [ + Expanded( + child: CustomScrollView( + slivers: [ + _AppBar( + title: title, + appBarActions: appBarActions, + bottom: bottom, + ), + ...slivers, + ], + ), ), - ...slivers, + if (bottomNavigationBar != null) bottomNavigationBar!, ], ), ), - bottomNavigationBar: bottomNavigationBar, ); } }