device_orientation_windows 0.0.1 copy "device_orientation_windows: ^0.0.1" to clipboard
device_orientation_windows: ^0.0.1 copied to clipboard

PlatformWindows

A Flutter plugin to get Windows device orientation using wingdi

device_orientation_windows #

A Flutter plugin to get Windows device orientation using wingdi

Getting Started #

Get current device orientation:

DeviceOrientation deviceOrientation = await DeviceOrientationWindows.getDeviceOrientation();

Listen for device orientation change events:

DeviceOrientation? deviceOrientation;
DeviceOrientationWindows.onOrientationChanged().listen((orientation) {
  deviceOrientation = orientation;
});
2
likes
150
pub points
5%
popularity

Publisher

verified publisherdeephow.com

A Flutter plugin to get Windows device orientation using wingdi

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on device_orientation_windows