maxHeight property Null safety

double? maxHeight

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;
void maxHeight=(double? value)

Implementation

set maxHeight(double? value) {
  if (_maxHeight == value) {
    return;
  }
  _maxHeight = value;
  markNeedsLayout();
}