ScreenOrientation class
- Inheritance
-
- Object
- EventTarget
- ScreenOrientation
Constructors
- ScreenOrientation.constructor({int angle = 1, String type = 'vertical'})
Properties
Methods
-
addEventListener(
String type, EventListener listener, [bool? useCapture]) → void -
inherited
-
dispatchEvent(
Event event) → bool -
inherited
-
lock(
String orientation) → Future -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeEventListener(
String type, EventListener listener, [bool? useCapture]) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unlock(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
changeEvent
→ const EventStreamProvider<
Event>