native_device_orientation 0.4.1 copy "native_device_orientation: ^0.4.1" to clipboard
native_device_orientation: ^0.4.1 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: ^0.4.1

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';
123
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

More

Packages that depend on native_device_orientation