SvgGradient constructor
const
SvgGradient(
- GradientUnits? gradientUnits,
- SvgTransform transform,
- List<
PdfColor?> colors, - List<
double> stops, - List<
double> opacityList,
Implementation
const SvgGradient(
this.gradientUnits,
this.transform,
this.colors,
this.stops,
this.opacityList,
) : assert(colors.length == stops.length),
assert(stops.length == opacityList.length),
super();