lock_orientation 0.0.1 copy "lock_orientation: ^0.0.1" to clipboard
lock_orientation: ^0.0.1 copied to clipboard

PlatformAndroidiOS
outdated

Locking orientation

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add lock_orientation

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

dependencies:
  lock_orientation: ^0.0.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:lock_orientation/lock_orientation.dart';
0
likes
130
points
22
downloads

Publisher

unverified uploader

Weekly Downloads

Locking orientation

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on lock_orientation

Packages that implement lock_orientation