GradientText constructor

GradientText(
  1. String data, {
  2. Key? key,
  3. TextStyle style = const TextStyle(color: Colors.white),
  4. StrutStyle? strutStyle,
  5. TextAlign? textAlign,
  6. TextDirection? textDirection,
  7. Locale? locale,
  8. bool? softWrap,
  9. TextOverflow? overflow,
  10. double? textScaleFactor,
  11. int? maxLines,
  12. String? semanticsLabel,
  13. TextWidthBasis? textWidthBasis,
  14. TextHeightBehavior? textHeightBehavior,
  15. required Gradient gradient,
})

Implementation

GradientText(
  this.data, {
  Key? key,
  this.style = const TextStyle(color: Colors.white),
  this.strutStyle,
  this.textAlign,
  this.textDirection,
  this.locale,
  this.softWrap,
  this.overflow,
  this.textScaleFactor,
  this.maxLines,
  this.semanticsLabel,
  this.textWidthBasis,
  this.textHeightBehavior,
  required this.gradient,
});