FontSize.percent constructor
FontSize.percent(
- int percent
A percentage of the parent style's font size.
Implementation
factory FontSize.percent(int percent) {
return FontSize(percent.toDouble() / -100.0, units: "%");
}