flex property

int flex
final

The flex factor to use for this child.

If null or zero, the child is inflexible and determines its own size. If non-zero, the amount of space the child's can occupy in the main axis is determined by dividing the free space (after placing the inflexible children) according to the flex factors of the flexible children.

Implementation

final int flex;