maxWidth property

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

Implementation

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