XSensor class
Device sensors read straight from native, bypassing the framework's orientation plumbing.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- orientation → DeviceOrientation
-
Accelerometer-driven physical device rotation; updates regardless of
OS auto-rotate or app UI orientation lock.
no setter
-
orientationListenable
→ ValueListenable<
DeviceOrientation> -
Listenable form of orientation, updated as the device rotates.
Backed by a Dart-side 100ms poll of the underlying FFI getter.
no setter