constraints property

BoxConstraints constraints

Convenience that returns minWidth and height as a BoxConstraints object.

Implementation

BoxConstraints get constraints {
  return BoxConstraints(
    minWidth: minWidth,
    minHeight: height,
  );
}