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