DeviceOrientationChangedEvent class Null safety

The DeviceOrientationChangedEvent is fired every time the orientation of the device UI changes.

Inheritance

Constructors

DeviceOrientationChangedEvent(DeviceOrientation orientation)
Build a new orientation changed event.
const
DeviceOrientationChangedEvent.fromJson(Map<String, dynamic> json)
Converts the supplied Map to an instance of the DeviceOrientationChangedEvent class.

Properties

hashCode int
The hash code for this object.
read-onlyoverride
orientation DeviceOrientation
The new orientation of the device
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the DeviceOrientationChangedEvent instance into a Map instance that can be serialized to JSON.
toString() String
A string representation of this object.
inherited

Operators

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