fractionHeight method

Niku fractionHeight(
  1. double fraction
)

Set height in percent

Equivalent to:

FractionallySizedBox(
  heightFactor: input
)

Implementation

Niku fractionHeight(double fraction) {
  _widget = FractionallySizedBox(widthFactor: fraction, child: _widget);

  return this;
}