maxHeight property Null safety
The maximum height constraint to give the child. Set this to null (the default) to use the constraint from the parent instead.
Implementation
double? get maxHeight => _maxHeight;
Implementation
set maxHeight(double? value) {
if (_maxHeight == value) {
return;
}
_maxHeight = value;
markNeedsLayout();
}