GradientText constructor
GradientText(
- String data, {
- Key? key,
- TextStyle style = const TextStyle(color: Colors.white),
- StrutStyle? strutStyle,
- TextAlign? textAlign,
- TextDirection? textDirection,
- Locale? locale,
- bool? softWrap,
- TextOverflow? overflow,
- double? textScaleFactor,
- int? maxLines,
- String? semanticsLabel,
- TextWidthBasis? textWidthBasis,
- TextHeightBehavior? textHeightBehavior,
- 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,
});