native_device_orientation 1.0.0 copy "native_device_orientation: ^1.0.0" to clipboard
native_device_orientation: ^1.0.0 copied to clipboard

outdated

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.0.0

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';
135
likes
0
pub points
98%
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

License

unknown (license)

Dependencies

flutter, meta

More

Packages that depend on native_device_orientation