foldable_ext 0.3.0
foldable_ext: ^0.3.0 copied to clipboard
Test Flutter layouts on Android foldables, including the Galaxy Z Fold. Preview iPhone Duo window size, safe areas, and the fold in debug builds.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add foldable_extThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
foldable_ext: ^0.3.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:foldable_ext/foldable_ext.dart';