BadgeGradient.radial constructor
const
BadgeGradient.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,
Implementation
const BadgeGradient.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 = BadgeGradientType.radial,
begin = null,
end = null,
endAngle = null,
startAngle = null;