ScreenManager class

Constructors

ScreenManager({List<DeviceOrientation> orientations = DeviceOrientation.values, List<SystemUiOverlay> overlays = SystemUiOverlay.values, bool forceLandScapeInFullscreen = 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
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

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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited