LayoutFlex.flexible constructor
- int? factor
factor shares of the leftover space, free to stay smaller than that.
Defaults to 1 share.
Implementation
const LayoutFlex.flexible([int? factor])
: assert(factor == null || factor > 0, 'Use LayoutFlex.none to ask for no space.'),
factor = factor ?? 1,
fit = .loose;