flutter_orientation_manager 1.0.2
flutter_orientation_manager: ^1.0.2 copied to clipboard
A Flutter plugin for managing device orientation with real-time orientation change detection.
1.0.2 #
- Replaced sensor-based orientation detection with a native orientation event listener
- Restructured orientation event handling and plugin registration
- Moved the Android namespace to
build.gradleand removed the deprecatedpackageattribute fromAndroidManifest.xml - Formatted all Dart sources with the current formatter
1.0.0 #
- Initial release of Flutter Orientation Manager
- Real-time orientation change detection
- Cross-platform support for iOS and Android
- Comprehensive orientation control methods:
- Toggle between portrait and landscape
- Lock current orientation
- Enable/disable automatic rotation
- Force specific orientations
- Native implementation using accelerometer sensors
- Easy-to-use API with static methods
- Stream-based orientation change listening
- Complete example application
- Comprehensive documentation