TextSegment.animated constructor
const
TextSegment.animated(
- String text, {
- List<
TextEffect> effects = const [],
Creates an animated text segment with the given effects.
text — the text to animate.
effects — list of TextEffects applied to this segment.
Implementation
const TextSegment.animated(this.text, {this.effects = const []})
: isAnimated = true;