fold_adaptive_nav_android 1.0.0
fold_adaptive_nav_android: ^1.0.0 copied to clipboard
Android implementation of fold_adaptive_nav: foldable detection, posture and fold geometry through Jetpack WindowManager and the hinge angle sensor.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add fold_adaptive_nav_androidThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
fold_adaptive_nav_android: ^1.0.0Alternatively, 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:fold_adaptive_nav_android/fold_adaptive_nav_android.dart';