Gradient.sweep constructor Null safety
Implementation
const factory Gradient.sweep({
@Default(Alignment.center) Alignment center,
@Default(0.0) double startAngle,
@Default(pi * 2) double endAngle,
required List<Color> colors,
List<double>? stops,
@Default(TileMode.clamp) TileMode tileMode,
GradientTransform? transform,
}) = SweepGradient;