Member-only story

Flutter fullscreen mode

Nhan Cao
Feb 22, 2021
@override
void initState() {
super.initState();
// Fullscreen mode
SystemChrome.setEnabledSystemUIOverlays(<SystemUiOverlay>[]);
}
@override
void dispose() {
// Disable fullscreen mode
SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values);
super.dispose();
}

--

--

No responses yet