limited method

LimitedBox limited({
  1. Key? key,
  2. double maxW = double.infinity,
  3. double maxH = double.infinity,
})

Implementation

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