percentages property

List<double>? percentages
final

Sets the default children width or height as percentages.

If you set this value, the length of percentages must match the one of children, and the sum of percentages must be equal to 1.

If this value is null, children will be split into the same size.

Implementation

final List<double>? percentages;