native_device_orientation 1.1.4 icon indicating copy to clipboard operation
native_device_orientation: ^1.1.4 copied to clipboard

A Flutter plugin for reading device's native orientation, either from UI orientation or from sensors

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add native_device_orientation

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

dependencies:
  native_device_orientation: ^1.1.4

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:native_device_orientation/native_device_orientation.dart';
79
likes
110
pub points
97%
popularity

Publisher

unverified uploader

A Flutter plugin for reading device's native orientation, either from UI orientation or from sensors

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter, meta

More

Packages that depend on native_device_orientation