relative_layout 0.1.0+1 relative_layout: ^0.1.0+1 copied to clipboard
RelativeLayout in Flutter,support 'toLeftOf、toRightOf、above、below',support 'alignTop、alignBottom、alignLeft、alignRight',the overflow mode support'overflow、inside'
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add relative_layout
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
relative_layout: ^0.1.0+1
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:relative_layout/relative_layout.dart';