maxWidth property

double? get maxWidth

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;
set maxWidth (double? value)

Implementation

set maxWidth(double? value) {
  if (_maxWidth == value) {
    return;
  }
  _maxWidth = value;
  markNeedsLayout();
}