mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2025-08-26 15:06:43 +00:00
fixed bottom navigation bar behaviour
This commit is contained in:
parent
a9c3489c8e
commit
9d04593479
1 changed files with 14 additions and 8 deletions
|
@ -25,18 +25,24 @@ class SliverScreen extends StatelessWidget {
|
|||
body: SafeArea(
|
||||
top: false,
|
||||
bottom: false,
|
||||
child: CustomScrollView(
|
||||
slivers: <Widget>[
|
||||
_AppBar(
|
||||
title: title,
|
||||
appBarActions: appBarActions,
|
||||
bottom: bottom,
|
||||
child: Column(
|
||||
children: [
|
||||
Expanded(
|
||||
child: CustomScrollView(
|
||||
slivers: <Widget>[
|
||||
_AppBar(
|
||||
title: title,
|
||||
appBarActions: appBarActions,
|
||||
bottom: bottom,
|
||||
),
|
||||
...slivers,
|
||||
],
|
||||
),
|
||||
),
|
||||
...slivers,
|
||||
if (bottomNavigationBar != null) bottomNavigationBar!,
|
||||
],
|
||||
),
|
||||
),
|
||||
bottomNavigationBar: bottomNavigationBar,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue