GradientText constructor

const GradientText(
  1. String text, {
  2. Key? key,
  3. required List<Color> colors,
  4. List<double>? stops,
  5. AlignmentGeometry begin = Alignment.centerLeft,
  6. AlignmentGeometry end = Alignment.centerRight,
  7. TileMode tileMode = TileMode.clamp,
  8. TextStyle? style,
  9. TextAlign? textAlign,
  10. TextDirection? textDirection,
  11. int? maxLines,
  12. 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,
});