RadialGradient constructor
const
RadialGradient({})
Creates a radial gradient.
The colors
argument must not be null. If stops
is non-null, it must
have the same length as colors
.
Implementation
const RadialGradient({
this.center = Alignment.center,
this.radius = 0.5,
required List<PdfColor> colors,
List<double>? stops,
this.tileMode = TileMode.clamp,
this.focal,
this.focalRadius = 0.0,
}) : super(colors: colors, stops: stops);