twin_screen 0.1.0
twin_screen: ^0.1.0 copied to clipboard
Fold-aware and dual-screen layouts for Flutter: iPhone Duo, Android foldables and flip phones, and web, plus window size classes and a fold simulator.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add twin_screenThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
twin_screen: ^0.1.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:twin_screen/twin_screen.dart';