enterFullScreen method
Enters fullscreen mode.
If lock
is true, auto rotate will be disabled.
Implementation
void enterFullScreen({bool lock = true}) {
update(fullScreenOption: FullScreenOption(enabled: true, locked: lock));
_onFullscreenChanged?.call(true);
}