maxSize static method
Implementation
static FloretParent<ConstrainedBox> maxSize(double width, double height) =>
(Widget child) => ConstrainedBox(
child: child,
constraints: BoxConstraints(
maxWidth: width,
maxHeight: height,
),
);