flex_with_main_child library

A package that provide Flex (and Row and Column) that match its size in the cross axis direction with a specific child.

Classes

ColumnWithMainChild
A widget that's identical to Column in flutter/widgets.dart except it tries to match the its width with its mainChild. mainChild must have a GlobalKey attached for size measuring.
FlexWithMainChild
A widget that's identical to Flex in flutter/widgets.dart except it tries to match the its cross axis size with its mainChild. mainChild must have a GlobalKey attached for size measuring.
RowWithMainChild
A widget that's identical to Row in flutter/widgets.dart except it tries to match the its height with its mainChild. mainChild must have a GlobalKey attached for size measuring.