TypewriterText constructor
const
TypewriterText(
- String text, {
- Key? key,
- TextStyle style = const TextStyle(),
- StrutStyle? strutStyle,
- TextAlign? textAlign = TextAlign.left,
- TextDirection? textDirection,
- Locale? locale,
- bool softWrap = true,
- TextOverflow overflow = TextOverflow.clip,
- double? textScaleFactor,
- int? maxLines,
- String? semanticsLabel,
- TextWidthBasis? textWidthBasis,
- TextHeightBehavior? textHeightBehavior,
- Color? sectionColor,
- Duration duration = const Duration(milliseconds: 250),
Implementation
const TypewriterText(this.text, {
Key? key,
this.style = const TextStyle(),
this.strutStyle,
this.textAlign = TextAlign.left,
this.textDirection,
this.locale,
this.softWrap = true,
this.overflow = TextOverflow.clip,
this.textScaleFactor,
this.maxLines,
this.semanticsLabel,
this.textWidthBasis,
this.textHeightBehavior,
this.sectionColor,
this.duration = const Duration(milliseconds: 250),
}) : super(key: key);