limit method
Limits this widget's size only when it's unconstrained.
Implementation
@widgetFactory
Widget limit({
double maxHeight = double.infinity,
double maxWidth = double.infinity,
}) {
return FleetLimitedBox(
maxHeight: maxHeight,
maxWidth: maxWidth,
child: this,
);
}