maxWidth property
Implementation
@override
CSSLengthValue get maxWidth => _maxWidth ?? CSSLengthValue.none;
set
maxWidth
(CSSLengthValue? value)
Implementation
set maxWidth(CSSLengthValue? value) {
// Negative value is invalid, auto value is parsed at layout stage.
if ((value != null && value.value != null && value.value! < 0) || maxWidth == value) {
return;
}
_maxWidth = value;
_markSelfAndParentNeedsLayout();
_markScrollContainerNeedsLayout();
}