Skip to main content

auto_orientation_v2 2.4.6 copy "auto_orientation_v2: ^2.4.6" to clipboard
auto_orientation_v2: ^2.4.6 copied to clipboard

Set and control device orientation programmatically for Flutter apps on iOS, Android, and Web.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add auto_orientation_v2

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  auto_orientation_v2: ^2.4.6

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:auto_orientation_v2/auto_orientation_v2.dart';
7
likes
160
points
4.16k
downloads

Documentation

API reference

Publisher

verified publisherrizkyghofur.my.id

Weekly Downloads

Set and control device orientation programmatically for Flutter apps on iOS, Android, and Web.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, web

More

Packages that depend on auto_orientation_v2

Packages that implement auto_orientation_v2