fixed bottom navigation bar behaviour

This commit is contained in:
Vadim 2025-08-08 13:37:33 +02:00
parent a9c3489c8e
commit 9d04593479

View file

@ -25,18 +25,24 @@ class SliverScreen extends StatelessWidget {
body: SafeArea( body: SafeArea(
top: false, top: false,
bottom: false, bottom: false,
child: CustomScrollView( child: Column(
slivers: <Widget>[ children: [
_AppBar( Expanded(
title: title, child: CustomScrollView(
appBarActions: appBarActions, slivers: <Widget>[
bottom: bottom, _AppBar(
title: title,
appBarActions: appBarActions,
bottom: bottom,
),
...slivers,
],
),
), ),
...slivers, if (bottomNavigationBar != null) bottomNavigationBar!,
], ],
), ),
), ),
bottomNavigationBar: bottomNavigationBar,
); );
} }
} }