aagarwal1012 / aagarwal1012/Animated-Text-Kit
Animate RichText
- Dominant language
- Dart
- Stars
- 1.8k
- Forks
- 321
- PR merge metrics
- No merged PRs in 30d
Description
I am using AnimatedTextKit to animate the text with a typewriter effect. I have a sentence where each word is of a different color, which is not possible to do as animatedTexts takes the list of TypewriterAnimatedText where I can only put a string, and even if I put words as a separate list item it will come after other. I want to animate a sentence typed out animation with each word as a different color.
Contributor guide
Research direction
Look at the TypewriterAnimatedText class and how it renders text. The issue requires animating a sentence where each word has a different color, which likely means extending or modifying the animation logic to handle RichText with multiple TextSpan children. Check the existing animated text widgets for how they manage text painting and animation steps. A solution would involve designing a new widget that accepts a list of styled text segments and types them out sequentially.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- frontend, mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100