proxy_layout 2.0.2 proxy_layout: ^2.0.2 copied to clipboard
Package to select layout per orientation or device size like mobile vs tablet layouts or portrait vs landscape, they can be combine to support full layout customization.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add proxy_layout
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
proxy_layout: ^2.0.2
Alternatively, 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:proxy_layout/proxy_layout.dart';