flutter_orientation
flutter_orientation copied to clipboard
A Flutter plugin for device's orientation
what I need: I need the landscape mode only for one screen and the portrait mode for every other screen... Your solution does not help me with my current problem,...
[Orientation] BUG IN CLIENT OF UIKIT: Setting UIDevice.orientation is not supported. Please use UIWindowScene.requestGeometryUpdate(_:)
I have following code ` subscription = OrientationHelper.onOrientationChange.listen((value) { print(value); }); ` It always shows DeviceOrientation.landscapeLeft. It is working as expected on Android. Flutter 1.20.4 • Dart 2.9.2
i use OrientationPlugin.setPreferredOrientations([DeviceOrientation.portraitUp]) OrientationPlugin.forceOrientation(DeviceOrientation.portraitUp); but not lock the screen orientation, How to solve it?thanks。
the onOrientationChange is too sensitive for my app. it change the orientation from landscape to portrait when I lay the phone on the table. (the screen face to sky) It...