GradientText constructor

const GradientText(
  1. String? text, {
  2. Key? key,
  3. TextStyle? style,
  4. StrutStyle? strutStyle,
  5. TextAlign? textAlign,
  6. TextDirection? textDirection,
  7. Locale? locale,
  8. bool? softWrap,
  9. TextOverflow? overflow,
  10. TextScaler? textScaler,
  11. int? maxLines,
  12. TextWidthBasis? textWidthBasis,
  13. TextHeightBehavior? textHeightBehavior,
  14. Color? selectionColor,
  15. Gradient? gradient,
  16. bool debug = false,
})

Implementation

const GradientText(
  this.text, {
  Key? key,
  this.style,
  this.strutStyle,
  this.textAlign,
  this.textDirection,
  this.locale,
  this.softWrap,
  this.overflow,
  this.textScaler,
  this.maxLines,
  this.textWidthBasis,
  this.textHeightBehavior,
  this.selectionColor,
  this.gradient,
  this.debug = false,
}) : super(key: key);