scale method
- double factor
Returns a new shadow with its offset and blurRadius scaled by the given factor.
Implementation
Shadow scale(double factor) {
return Shadow(color: color, offset: offset * factor, blurRadius: blurRadius * factor);
}
Returns a new shadow with its offset and blurRadius scaled by the given factor.
Shadow scale(double factor) {
return Shadow(color: color, offset: offset * factor, blurRadius: blurRadius * factor);
}