ListText constructor

const ListText({
  1. required List<String> texts,
  2. int? animationIndex,
  3. AnimationArguments? animationArguments,
  4. TextStyle? style,
  5. TextAlign? textAlign,
  6. ListBullets? bullet,
  7. EdgeInsets? padding,
  8. 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,
});