LinearGradient constructor
const
LinearGradient({
- AlignmentGeometry begin = Alignment.centerLeft,
- AlignmentGeometry end = Alignment.centerRight,
- required List<
PdfColor> colors, - List<
double> ? stops, - TileMode tileMode = TileMode.clamp,
Creates a linear gradient.
Implementation
const LinearGradient({
this.begin = Alignment.centerLeft,
this.end = Alignment.centerRight,
required List<PdfColor> colors,
List<double>? stops,
this.tileMode = TileMode.clamp,
}) : super(colors: colors, stops: stops);