aagarwal1012 / aagarwal1012/Animated-Text-Kit

Animate RichText

未关闭
#254 2 条评论 4 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Dart
星标
1.8k
派生
321
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
dart, flutter
领域
frontend, mobile
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
描述清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。