getIntrinsicHeight method
Computes the intrinsic height of this widget under the given width constraint.
Implementation
@override
int getIntrinsicHeight(int width) {
if (heightFactor != null) {
return (child.getIntrinsicHeight(width) * heightFactor!).round();
}
return child.getIntrinsicHeight(width);
}