heightPercent method

Niku heightPercent(
  1. double percent
)

Set height in percent

Equivalent to:

Flexible(
  child: FractionallySizedBox(
    heightFactor: input / 100
  )
)

Implementation

Niku heightPercent(double percent) => Niku(
      FractionallySizedBox(
        widthFactor: percent / 100,
        child: this._widget,
      ),
    );