flex property

int flex
final

Flex value for allocating cross axis extent left after laying out the children with constrained cross axis. The children with flex values will have the remaining extent allocated proportionally to their flex value. This must an integer between 0 and infinity, exclusive.

Implementation

final int flex;