flex_with_main_child 0.2.1 copy "flex_with_main_child: ^0.2.1" to clipboard
flex_with_main_child: ^0.2.1 copied to clipboard

A Flex (i.e. Column or Row) that sizes itself to its main child in the cross axis direction.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flex_with_main_child

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  flex_with_main_child: ^0.2.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:flex_with_main_child/flex_with_main_child.dart';
7
likes
140
pub points
71%
popularity

Publisher

unverified uploader

A Flex (i.e. Column or Row) that sizes itself to its main child in the cross axis direction.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on flex_with_main_child