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

150

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([])

Share:
150
Thatcher Li
Author by

Thatcher Li

Updated on December 29, 2022

Comments

  • Thatcher Li
    Thatcher Li 11 months

    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