widthPercent method
Set width in percent
Equivalent to:
Flexible(
child: FractionallySizedBox(
widthFactor: input
)
)
Implementation
Niku widthPercent(double percent) => Niku(
FractionallySizedBox(
widthFactor: percent / 100,
child: this._widget,
),
);