aagarwal1012 / aagarwal1012/Animated-Text-Kit

FlickerAnimatedText doesn't handle TextAlign

Offen
#335 1 Kommentar 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**
When specifying TextAlign.center to FlickerAnimatedText, the text alignment remain set to its default value TextAlign.start.

**To Reproduce**
Steps to reproduce the behavior:
1. Instantiate a FlickerAnimatedText
2. Lay it out so that if fills the full width of the screen
3. Set the textAlign property to TextAlign.center
4. Set the text to a long text so that the alignment issue can easily be spotted
5. Run the app
6. See error

**Expected behavior**
The text should be center-aligned

**Screenshots**
Bildschirmfoto 2024-02-21 um 11 37 06

**Flutter:**
- version 3.19.0
- stable channel

**Dart:**
- version 3.3.0

**Additional context**
Version 4.2.2 of animated_text_kit

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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