ScreenManager class
Constructors
-
ScreenManager({List<
DeviceOrientation> orientations = DeviceOrientation.values, List<SystemUiOverlay> overlays = SystemUiOverlay.values, bool forceLandScapeInFullscreen = true, SystemUiMode? systemUiMode, bool hideSystemOverlay = true}) -
const
Properties
- forceLandScapeInFullscreen → bool
-
when the player is in fullscreen mode if forceLandScapeInFullscreen the player only show the landscape mode
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hideSystemOverlay → bool
-
if system overlays should be hidden or not
final
-
orientations
→ List<
DeviceOrientation> -
orientations the device orientation after exit of the fullscreen
final
-
overlays
→ List<
SystemUiOverlay> -
overlays the device overlays after exit of the fullscreen
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- systemUiMode → SystemUiMode?
-
how system overlay are handled hidden
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setDefaultOverlaysAndOrientations(
) → Future< void> - set the default orientations and overlays after exit of fullscreen
-
setFullScreenOverlaysAndOrientations(
{dynamic hideOverLays = true}) → Future< void> - hide the statusBar and the navigation bar, set only landscape mode only if forceLandScapeInFullscreen is true
-
setOverlays(
bool visible) → Future< void> -
setWebFullScreen(
bool state, MeeduPlayerController _) → Future< void> -
setWindowsFullScreen(
bool state, MeeduPlayerController _) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited