limited method
A box that limits its size only when it's unconstrained.
Implementation
Widget limited({
required double maxWidth,
required double maxHeight,
Key? key,
}) {
return LimitedBox(
key: key,
maxWidth: maxWidth,
maxHeight: maxHeight,
child: this,
);
}