Shadow3DDecorator constructor
Shadow3DDecorator({})
Implementation
Shadow3DDecorator({
Vector2? base,
double? ascent,
double? angle,
double? xShift,
double? yScale,
double? blur,
double? opacity,
}) : _base = base?.clone() ?? Vector2.zero(),
_ascent = ascent ?? 0,
_angle = angle ?? -1.4,
_shift = xShift ?? 100.0,
_scale = yScale ?? 1.0,
_blur = blur ?? 0,
_opacity = opacity ?? 0.6;