Reputation: 382
How to hide system navigation bar in flutter? I have tried hiding it with
SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual,
overlays: [SystemUiOverlay.top]);
But when ever a touch happens on the app, the system navigation popups first. I need to only display the statusbar. How can I turnoff the system navigation bar ?
Upvotes: 0
Views: 2525
Reputation: 937
Use setEnabledSystemUIMode and provide SystemUiMode.manual as shown below:
SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual, overlays: [ SystemUiOverlay.top ]);
Upvotes: 2