aagarwal1012 / aagarwal1012/Animated-Text-Kit

How to keep text up after animating

Aperta
#340 3 commenti 3 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Dart
Stelle
1.8k
Fork
321
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.