How to hide system bottom navigation bar and show status bar?

Viewed 31

I'm trying the following code:

SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual, overlays: [
  SystemUiOverlay.top,
]);

It shows what I want, but when I touch the screen the bottom bar appears for a fraction of a second and then disappears.

0 Answers
Related