maxWidth property

set maxWidth (double v)

Implementation

set maxWidth(double v) {
  if (_latest is ConstrainedBox) return _applyConstraints(maxWidth: v);

  return _add(
    (w) => ConstrainedBox(
      constraints: BoxConstraints(maxWidth: v),
      child: w,
    ),
  );
}