duo_flex 0.1.2
duo_flex: ^0.1.2 copied to clipboard
Read iOS display geometry, safe areas, fold posture and hinge angle, and build responsive Flutter layouts from available space.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add duo_flexWith Flutter:
$ flutter pub add duo_flexThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
duo_flex: ^0.1.2Alternatively, your editor might support dart pub get 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:duo_flex/duo_flex.dart';