Last updated:
0 purchases
flutter orientation
flutter_orientation #
A flutter plugin for rotate device orientation.
Getting Started #
ios
you need add supported orientations you will use in future
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
copied to clipboard
Usage #
flutter_orientation: ^newest
copied to clipboard
import 'package:flutter_orientation/flutter_orientation.dart';
FlutterOrientation.setOrientation(DeviceOrientation.portraitUp);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.