flex property

int flex
final

The flex factor to use in determining how much space to take up.

The amount of space the Spacer can occupy in the main axis is determined by dividing the free space proportionately, after placing the inflexible children, according to the flex factors of the flexible children.

Defaults to one.

Implementation

final int flex