GradientText constructor

const GradientText(
  1. String data, {
  2. Key? key,
  3. required TextStyle style,
  4. Gradient gradient = Gradients.hotLinear,
  5. Rect? shaderRect,
  6. TextAlign? textAlign,
  7. TextDirection? textDirection,
  8. Locale? locale,
  9. bool? softWrap,
  10. TextOverflow? overflow,
  11. double? textScaleFactor,
  12. int? maxLines,
  13. String? semanticsLabel,
})

Implementation

const GradientText(
  this.data, {
  this.key,
  required this.style,
  this.gradient = Gradients.hotLinear,
  this.shaderRect,
  this.textAlign,
  this.textDirection,
  this.locale,
  this.softWrap,
  this.overflow,
  this.textScaleFactor,
  this.maxLines,
  this.semanticsLabel,
}) : super(key: key);