device_orientation library

Extensions

RotationValue on DeviceOrientation
Extension translating device rotation to turns for widget rotation, eg. RotatedBox, AnimatedRotation.

Properties

deviceOrientation DeviceOrientation
Current absolute device orientation.
getter/setter pair
deviceOrientation$ Stream<DeviceOrientation>
Absolute device orientation stream.
getter/setter pair