flutter_orientation 0.0.1
flutter_orientation: ^0.0.1 copied to clipboard

Flutter Android iOS

A flutter plugin for rotate device 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>

Usage #

flutter_orientation: ^newest
import 'package:flutter_orientation/flutter_orientation.dart';


FlutterOrientation.setOrientation(DeviceOrientation.portraitUp);
0
likes
80
pub points
20%
popularity

A flutter plugin for rotate device orientation.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

g.chavesgu@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_orientation