hide bar if keyboard

This commit is contained in:
open-trade 2020-11-22 13:23:56 +08:00
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,