0 purchases
device orientation windows
device_orientation_windows #
A Flutter plugin to get Windows device orientation using wingdi
Getting Started #
Get current device orientation:
DeviceOrientation deviceOrientation = await DeviceOrientationWindows.getDeviceOrientation();
copied to clipboard
Listen for device orientation change events:
DeviceOrientation? deviceOrientation;
DeviceOrientationWindows.onOrientationChanged().listen((orientation) {
deviceOrientation = orientation;
});
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.