enterFullScreen method
Enter full-screen mode.
Implementation
@protected
void enterFullScreen() {
if (!config.allowedScreenSleep) {
WakelockPlus.enable();
}
SystemChrome.setEnabledSystemUIMode(
SystemUiMode.manual,
overlays: <SystemUiOverlay>[],
);
SystemChrome.setPreferredOrientations(value.orientations);
}