constraints method

Niku constraints(
  1. BoxConstraints constraints
)

Set minimum and maximum size for widget

Equivalent to:

ConstrainedBox(
  constraints: input
)

Implementation

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