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