maxSize method
Set maximum size for widget
Equivalent to:
ConstrainedBox(
constraints: BoxConstraints(
maxWidth: maxWidth,
maxHeight: maxHeight
)
)
Implementation
Niku maxSize(double maxWidth, double maxHeight) => Niku(ConstrainedBox(
constraints: BoxConstraints(maxWidth: maxWidth, maxHeight: maxHeight),
child: this._widget));