constrained_layout 0.0.2 constrained_layout: ^0.0.2 copied to clipboard
A flexible Flutter layout allowing to position widgets by declaring relations between them.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add constrained_layout
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
constrained_layout: ^0.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:constrained_layout/constrained_layout.dart';