orientation_state 1.0.0 copy "orientation_state: ^1.0.0" to clipboard
orientation_state: ^1.0.0 copied to clipboard

A Flutter plugin of detect screen orientation lock switch status

orientation_state #

A Flutter plugin of detect screen orientation lock switch status. !!You need to define manual permission to change system settings

Getting Started #

import 'package:orientation_state/orientation_state.dart';

isDeviceOrientationLocked = await _OrientationStateCheckerPlugin.isDeviceOrientationLocked();

await _OrientationStateCheckerPlugin.setOrientationState(true);
await _OrientationStateCheckerPlugin.setOrientationState(false);
2
likes
150
points
2
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin of detect screen orientation lock switch status

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on orientation_state

Packages that implement orientation_state