From 49760b4ad5c4ead995a30bc6a120915ef3b64880 Mon Sep 17 00:00:00 2001 From: open-trade Date: Sun, 22 Nov 2020 13:23:56 +0800 Subject: [PATCH] hide bar if keyboard --- flutter_hbb/lib/remote_page.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flutter_hbb/lib/remote_page.dart b/flutter_hbb/lib/remote_page.dart index 93342e738..ee984a328 100644 --- a/flutter_hbb/lib/remote_page.dart +++ b/flutter_hbb/lib/remote_page.dart @@ -102,8 +102,9 @@ class _RemotePageState extends State { onPressed: () { setState(() => _showBar = !_showBar); }), - bottomNavigationBar: _showBar + bottomNavigationBar: _showBar && _bottom < 100 ? BottomAppBar( + elevation: 10, color: MyTheme.accent, child: Row( mainAxisSize: MainAxisSize.max,