constraints property

BoxConstraints constraints

Simply a convenience that returns minWidth and height as a BoxConstraints object:

return BoxConstraints(
  minWidth: minWidth,
  minHeight: height,
);

Implementation

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