maxSize static method

FloretParent<ConstrainedBox> maxSize(
  1. double width,
  2. double height
)

Implementation

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