BadgeGradient.sweep constructor

const BadgeGradient.sweep({
  1. TileMode tileMode = TileMode.clamp,
  2. required List<Color> colors,
  3. AlignmentGeometry? center = Alignment.center,
  4. double? startAngle = 0.0,
  5. double? endAngle = math.pi * 2,
  6. List<double>? stops,
  7. GradientTransform? transform,
})

Implementation

const BadgeGradient.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 = BadgeGradientType.sweep,
      begin = null,
      end = null,
      radius = null,
      focal = null,
      focalRadius = null;