hide bar if keyboard

This commit is contained in:
open-trade 2020-11-22 13:23:56 +08:00
parent 18ea8d9151
commit 49760b4ad5

View File

@ -102,8 +102,9 @@ class _RemotePageState extends State<RemotePage> {
onPressed: () {
setState(() => _showBar = !_showBar);
}),
bottomNavigationBar: _showBar
bottomNavigationBar: _showBar && _bottom < 100
? BottomAppBar(
elevation: 10,
color: MyTheme.accent,
child: Row(
mainAxisSize: MainAxisSize.max,