How can I make a flutter application fullscreen. I already found out how to hide the status bar Hide Android Status Bar On Flutter App. but I can't seem to find how to hide the android navigation bar.
To Hide StatusBar user can try the below things: SystemChrome. setEnabledSystemUIOverlays([]) should do what you want.
It's exactly like for Android status bar.
Doing SystemChrome.setEnabledSystemUIOverlays([])
hides both the status bar and the navigation bar.
p/s : use this SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values);
to disable full screen mode.
// to hide only bottom bar: SystemChrome.setEnabledSystemUIOverlays ([SystemUiOverlay.top]); // to hide only status bar: SystemChrome.setEnabledSystemUIOverlays ([SystemUiOverlay.bottom]); // to hide both: SystemChrome.setEnabledSystemUIOverlays ([]);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With