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