Search code examples
androidflutterdartandroid-actionbarflutter-layout

How do I hide Android's bottom action bar in Flutter?


I know it can be hidden with the following code.

SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.top]);

But as soon as I tap on the screen, the bottom action bar appears again. How can I solve this? Thank you very much


Solution

  • It's a bug in flutter; Nothing we can do for now:

    https://github.com/flutter/flutter/issues/62412

    Solution might be to hide both status bar and navigation bar

    SystemChrome.setEnabledSystemUIOverlays([])