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