TypeWriter constructor
const
TypeWriter({
- Key? key,
- TextStyle? style,
- required List<
TextSpan> text, - int speed = 50,
- bool autoStart = true,
- VoidCallback? onFinish,
- TextAlign textAlign = TextAlign.start,
- TextDirection? textDirection,
- bool softWrap = true,
- TextOverflow overflow = TextOverflow.clip,
- double textScaleFactor = 1.0,
- int? maxLines,
- Locale? locale,
- StrutStyle? strutStyle,
- TextWidthBasis textWidthBasis = TextWidthBasis.parent,
Implementation
const TypeWriter({
Key? key,
this.style,
required this.text,
this.speed = 50,
this.autoStart = true,
this.onFinish,
this.textAlign = TextAlign.start,
this.textDirection,
this.softWrap = true,
this.overflow = TextOverflow.clip,
this.textScaleFactor = 1.0,
this.maxLines,
this.locale,
this.strutStyle,
this.textWidthBasis = TextWidthBasis.parent,
}) : super(key: key);