问题
I'm really new in flutter and also in Android dev, but is it possible to hide the bottom navigation bar (see which item do i mean below) programmatically?
回答1:
Try this:
SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.top]);
Document
回答2:
Use SystemChrome.setEnabledSystemUIOverlays([])
to hide the status bar and the navigation bar.
来源:https://stackoverflow.com/questions/52365173/how-to-hide-androids-bottom-navigation-bar-in-flutter