constrainedBox method

Widget constrainedBox({
  1. required BoxConstraints constraints,
  2. Key? key,
})

Implementation

Widget constrainedBox({
  required BoxConstraints constraints,
  Key? key,
}) {
  return ConstrainedBox(
    constraints: constraints,
    key: key,
  );
}