GradientText constructor

const GradientText(
  1. String text, {
  2. Key? key,
  3. required Gradient gradient,
  4. TextStyle? style,
  5. TextAlign? textAlign,
  6. TextDirection? textDirection,
  7. int? maxLines,
  8. TextOverflow? overflow,
})

Implementation

const GradientText(
  this.text, {
  super.key,
  required this.gradient,
  this.style,
  this.textAlign,
  this.textDirection,
  this.maxLines,
  this.overflow,
});