aagarwal1012 / aagarwal1012/Animated-Text-Kit

ColorizeAnimatedText() stumbles on the first letter

Abierto
#266 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Dart
Estrellas
1.8k
Forks
321
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**Describe the bug**
In the Colorize animation, the animation stumbles on the first letter, and only then goes through the whole word.
I checked it on different simulators and on a real Android device, it is displayed the same everywhere.

**To Reproduce**
Steps to reproduce the behavior:
1. Use `ColorizeAnimatedText()` anywhere. It gives the same behavior all the time.

**Expected behavior**
Just like how it is in https://pub.dev/packages/animated_text_kit#colorize

**Screenshots**
[![enter image description here][1]][1]

**Flutter:**
- version 2.2.3
- channel stable

**Dart:**
- version 2.13.4

**Additional context**
My code:

```dart
Padding(
padding: EdgeInsets.only(top: 10),
child: AnimatedTextKit(
animatedTexts: [
ColorizeAnimatedText(
"Test Text",
colors: colorizeColors,
textStyle: GoogleFonts.inconsolata(fontSize: 27),
),
],
pause: Duration(milliseconds: 0),
isRepeatingAnimation: true,
repeatForever: true,
)
),
```

[1]: https://i.stack.imgur.com/WLXbN.gif

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Look at the ColorizeAnimatedText implementation in the animated_text_kit package, likely in lib/src/colorize.dart. Reproduce the bug using the provided code snippet. The issue mentions the animation stumbles on the first letter; examine the animation loop and initial state setup. Check for existing tests in the test/ directory related to ColorizeAnimatedText. The goal is to make the animation start smoothly as shown in the package documentation.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
dart, flutter
Área
frontend, mobile
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
50/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.