maxHeight property
The max height of the widget.
The widget is automatically sized to fit the available height if this is omitted, in which case an error occurs if the widget is unconstrained.
The actual height of the widget may become smaller depending on the maxWidth and the aspectRatio.
Implementation
final double? maxHeight;