maxHeight property

  1. @override
CSSLengthValue get maxHeight
override

Implementation

@override
CSSLengthValue get maxHeight {
  return _maxHeight ?? CSSLengthValue.none;
}
set maxHeight (CSSLengthValue? value)

Implementation

set maxHeight(CSSLengthValue? value) {
  // Negative value is invalid, auto value is parsed at layout stage.
  if ((value != null && value.value != null && value.value! < 0) || maxHeight == value) {
    return;
  }
  _maxHeight = value;
  _markSelfAndParentNeedsLayout();
}