FlutterTagGradient.sweep constructor
const
FlutterTagGradient.sweep({
- TileMode tileMode = TileMode.clamp,
- required List<
Color> colors, - AlignmentGeometry? center = Alignment.center,
- double? startAngle = 0.0,
- double? endAngle = math.pi * 2,
- List<
double> ? stops, - GradientTransform? transform,
Constructs a sweep gradient.
Implementation
const FlutterTagGradient.sweep({
this.tileMode = TileMode.clamp,
required this.colors,
this.center = Alignment.center,
this.startAngle = 0.0,
this.endAngle = math.pi * 2,
this.stops,
this.transform,
}) : gradientType = FlutterTagGradientType.sweep,
begin = null,
end = null,
radius = null,
focal = null,
focalRadius = null;