flutter_screen_orientation 0.0.1+1
flutter_screen_orientation: ^0.0.1+1 copied to clipboard

实时监测Android/IOS屏幕方向的插件

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_screen_orientation

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

dependencies:
  flutter_screen_orientation: ^0.0.1+1

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

Import it

Now in your Dart code, you can use:

import 'package:flutter_screen_orientation/flutter_screen_orientation.dart';
1
likes
65
pub points
61%
popularity

实时监测Android/IOS屏幕方向的插件

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_screen_orientation