split_screen 2.0.1
split_screen: ^2.0.1 copied to clipboard
Adaptive two-pane layouts and hinge-angle readings for Android foldables and iPhone Duo, with automatic division alignment and phone, tablet, desktop, and web layouts.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add split_screenThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
split_screen: ^2.0.1Alternatively, 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:split_screen/split_screen.dart';