limitedBox method

Widget limitedBox({
  1. Key? key,
  2. double maxWidth = double.infinity,
  3. double maxHeight = double.infinity,
})

Implementation

Widget limitedBox({
  Key? key,
  double maxWidth = double.infinity,
  double maxHeight = double.infinity,
}) =>
    LimitedBox(
      key: key,
      maxWidth: maxWidth,
      maxHeight: maxHeight,
      child: this,
    );