maxWidth method

Niku maxWidth(
  1. double maxWidth
)

Set maximum width for widget

Equivalent to:

ConstrainedBox(
  constraints: BoxConstraints(
    maxWidth: maxWidth
  )
)

Implementation

Niku maxWidth(double maxWidth) => Niku(ConstrainedBox(
    constraints: BoxConstraints(maxWidth: maxWidth), child: this._widget));