limiting_direction_csx 0.1.1 limiting_direction_csx: ^0.1.1 copied to clipboard
Limit the rotatable orientation of the screen, also known as the orientation Settings that the interface can support. It should be noted that the orientation set here needs to be included in the suppo [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add limiting_direction_csx
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
limiting_direction_csx: ^0.1.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:limiting_direction_csx/limiting_direction_csx.dart';