heightFactor property
If non-null, the factor of the incoming height to use.
If non-null, the child is given a tight height constraint that is the max incoming width constraint multiplied by this factor. If null, the child is given the incoming width constraints.
Implementation
double? get heightFactor => _heightFactor;
Implementation
set heightFactor(double? value) {
assert(value == null || value >= 0.0);
if (_heightFactor == value) {
return;
}
_heightFactor = value;
markNeedsLayout();
}