LinearGradient constructor
const
LinearGradient({})
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);