BadgeGradient.radial constructor

const BadgeGradient.radial({
  1. AlignmentGeometry? center = Alignment.center,
  2. required List<Color> colors,
  3. double? radius = 0.5,
  4. List<double>? stops,
  5. TileMode tileMode = TileMode.clamp,
  6. AlignmentGeometry? focal,
  7. double? focalRadius = 0.0,
  8. 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;