aagarwal1012 / aagarwal1012/Animated-Text-Kit
Support returning currently displayed text onTap
- 主要语言
- Dart
- 星标
- 1.8k
- 派生
- 321
- PR 合并指标
- 30 天内没有已合并 PR
描述
**Describe the solution you'd like**
```dart
AnimatedTextKit(
onTap: (String currentText) {
// I can do something with currentText here.
}
)
```
**Additional context**
This is useful for animated text kit in the search bar, which users can quickly tap to the displayed text to search for it.
贡献指南
调研方向
Look at the AnimatedTextKit widget's source code, likely in lib/animated_text_kit.dart. Identify where the onTap callback is handled and where the currently displayed text is stored. Modify the onTap signature to pass the current text string. Update any internal logic and ensure all animation types (like TypewriterAnimatedText, FadeAnimatedText) provide the text. Test by running the example app and verifying the callback receives the correct text.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- dart, flutter
- 领域
- frontend, mobile
- Issue 类型
- 功能
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 70/100