maxHeight method
Set maximum height for widget
Equivalent to:
ConstrainedBox(
constraints: BoxConstraints(
maxHeight: maxHeight
)
)
Implementation
Niku maxHeight(double maxHeight) {
_widget = ConstrainedBox(
constraints: BoxConstraints(
maxHeight: maxHeight,
),
child: _widget);
return this;
}