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