GradientText constructor
const
GradientText(
- String text, {
- Key? key,
- required List<
Color> colors, - List<
double> ? stops, - AlignmentGeometry begin = Alignment.centerLeft,
- AlignmentGeometry end = Alignment.centerRight,
- TileMode tileMode = TileMode.clamp,
- TextStyle? style,
- TextAlign? textAlign,
- TextDirection? textDirection,
- int? maxLines,
- TextOverflow? overflow,
Implementation
const GradientText(
this.text, {
super.key,
required this.colors,
this.stops,
this.begin = Alignment.centerLeft,
this.end = Alignment.centerRight,
this.tileMode = TileMode.clamp,
this.style,
this.textAlign,
this.textDirection,
this.maxLines,
this.overflow,
});