aagarwal1012 / aagarwal1012/Animated-Text-Kit
ColorizeAnimatedText's animation is weird.
- Langage dominant
- Dart
- Étoiles
- 1.8k
- Forks
- 321
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
the color animation is weird. There has a short animation at the beginning when repeated.
dependencies:
`animated_text_kit: ^4.2.0`
Here's a piece of code:
```dart
child: AnimatedTextKit(
repeatForever: true,
animatedTexts: [
ColorizeAnimatedText(
'市井小民',
speed: Duration(milliseconds: 1000),
textStyle: TextStyle(
fontSize: 24.0,
),
colors: [
Colors.purple,
Colors.blue,
Colors.yellow,
Colors.red,
],
),
],
)),
```

Please wait until repeated, about 10s.
Thanks for every tip!
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Look at the ColorizeAnimatedText implementation in the animated_text_kit package, likely in lib/src/colorize.dart. Run the provided example to observe the glitch on repeat. The fix will involve adjusting the animation controller's behavior when repeatForever is true, ensuring the color transition restarts cleanly without a hiccup.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- dart, flutter
- Domaine
- mobile-dev
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 55/100