widthFactor property

double widthFactor
final

If non-null, the fraction of the incoming width given to the child.

If non-null, the child is given a tight width constraint that is the max incoming width constraint multiplied by this factor.

If null, the incoming width constraints are passed to the child unmodified.

Implementation

final double widthFactor