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,6 +25,9 @@ class SliverScreen extends StatelessWidget {
body: SafeArea( body: SafeArea(
top: false, top: false,
bottom: false, bottom: false,
child: Column(
children: [
Expanded(
child: CustomScrollView( child: CustomScrollView(
slivers: <Widget>[ slivers: <Widget>[
_AppBar( _AppBar(
@ -36,7 +39,10 @@ class SliverScreen extends StatelessWidget {
], ],
), ),
), ),
bottomNavigationBar: bottomNavigationBar, if (bottomNavigationBar != null) bottomNavigationBar!,
],
),
),
); );
} }
} }