aagarwal1012 / aagarwal1012/Animated-Text-Kit

How to keep text up after animating

Offen
#340 3 Kommentare 3 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

I have a couple of Text objects animating but once the Flicker animation is done, the text doesn't stay up on the screen. Although I set both the repeatingForever and isRepeatingAnimation to false, the animation fades out and then the text stays disappeared.

Here is my code:

SizedBox(
width: MediaQuery.of(context).size.width,
child: DefaultTextStyle(
style: const TextStyle(color: Color(0xffbdbdbd), fontFamily: 'Jersey 15', fontSize: 50),
child: Center(
child: AnimatedTextKit(
isRepeatingAnimation: false,
repeatForever: false,
animatedTexts: [
TypewriterAnimatedText('I Gift You...'),
FadeAnimatedText(widget.contact.name),
],
),
),
),
),

Thank you in advance.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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