toCssPercent method
Returns the CSS percentage string representation (e.g. '50%' for offset 0.5).
Implementation
String toCssPercent() => '${(offset * 100).round()}%';
Returns the CSS percentage string representation (e.g. '50%' for offset 0.5).
String toCssPercent() => '${(offset * 100).round()}%';