constraints constant

PropDef<BoxConstraints> const constraints

{"minWidth", "maxWidth", "minHeight", "maxHeight"}: limits on the size, whatever the mode (Flutter's ConstrainedBox). A fill width with maxWidth grows with its parent up to the cap.

Implementation

static const constraints = PropDef<BoxConstraints>('constraints', Codecs.constraints, BoxConstraints.none);