flex property

int flex

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.


final int flex;