hide bar if keyboard
This commit is contained in:
parent
18ea8d9151
commit
49760b4ad5
@ -102,8 +102,9 @@ class _RemotePageState extends State<RemotePage> {
|
|||||||
onPressed: () {
|
onPressed: () {
|
||||||
setState(() => _showBar = !_showBar);
|
setState(() => _showBar = !_showBar);
|
||||||
}),
|
}),
|
||||||
bottomNavigationBar: _showBar
|
bottomNavigationBar: _showBar && _bottom < 100
|
||||||
? BottomAppBar(
|
? BottomAppBar(
|
||||||
|
elevation: 10,
|
||||||
color: MyTheme.accent,
|
color: MyTheme.accent,
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisSize: MainAxisSize.max,
|
mainAxisSize: MainAxisSize.max,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user