align_positioned 2.0.4 align_positioned: ^2.0.4 copied to clipboard
When your desired layout or animation is too complex for Columns and Rows, this widget is a life saver. It lets you declaratively position/size its child in complex ways.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add align_positioned
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
align_positioned: ^2.0.4
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:align_positioned/align_positioned.dart';