toCss method
Converts this stop to a CSS gradient stop.
Implementation
String toCss() {
final colorValue = cssValue(color);
if (position == null) return colorValue;
return '$colorValue ${_gradientPositionValue(position)}';
}
Converts this stop to a CSS gradient stop.
String toCss() {
final colorValue = cssValue(color);
if (position == null) return colorValue;
return '$colorValue ${_gradientPositionValue(position)}';
}