ListText constructor
const
ListText({
- required List<
String> texts, - int? animationIndex,
- AnimationArguments? animationArguments,
- TextStyle? style,
- TextAlign? textAlign,
- ListBullets? bullet,
- EdgeInsets? padding,
- Key? key,
Constructs a ListText widget.
texts
is the list of texts to be displayed.
animationIndex
is an optional index at which the animation should start.
If provided, texts at or after the animation index will be animated.
animationArguments
is the optional animation
arguments for the text animations. Dictates which animation will be used.
style
is the optional text style to be applied to the texts.
textAlign
is the optional text alignment for the texts.
bullet
is the optional bullet style to be applied to the texts.
padding
is the optional padding to be applied to each text item.
Implementation
const ListText({
required this.texts,
this.animationIndex,
this.animationArguments,
this.style,
this.textAlign,
this.bullet,
this.padding,
super.key,
});