aagarwal1012 / aagarwal1012/Animated-Text-Kit

ColorizeAnimatedText() stumbles on the first letter

Offen
#266 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Dart
Sterne
1.8k
Forks
321
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.