minSize method

Niku minSize(
  1. double minWidth,
  2. double minHeight
)

Set minimum size for widget

Equivalent to:

ConstrainedBox(
  constraints: BoxConstraints(
    minWidth: minWidth,
    minHeight: minHeight
  )
)

Implementation

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