RadialSteps constructor

const RadialSteps({
  1. AlignmentGeometry center = Alignment.center,
  2. double radius = 0.5,
  3. required List<Color> colors,
  4. List<double>? stops,
  5. AlignmentGeometry? focal,
  6. double focalRadius = 0.0,
  7. TileMode tileMode = TileMode.clamp,
  8. GradientTransform? transform,
})

Construct a new RadialSteps type Gradient.

This gradient resembles a RadialGradient but its colors are not smoothly gradated between, but instead hard-transition, like steps.

The center example is a RadialSteps

the center example is a RadialSteps

Implementation

const RadialSteps({
  this.center = Alignment.center,
  this.radius = 0.5,
  required List<Color> colors,
  List<double>? stops,
  this.focal,
  this.focalRadius = 0.0,
  this.tileMode = TileMode.clamp,
  GradientTransform? transform,
}) : super(colors: colors, stops: stops, transform: transform);