Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to keep text up after animating #340

Open
watanabekyonosuke opened this issue May 4, 2024 · 3 comments
Open

How to keep text up after animating #340

watanabekyonosuke opened this issue May 4, 2024 · 3 comments

Comments

@watanabekyonosuke
Copy link

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.

@lisovyk
Copy link

lisovyk commented May 29, 2024

Came here to see people handle advanced animations – and this is one of the much needed things.. I guess you could use a Stack and Timer to show another widget with your text when animation ends... but this should really be availabe out-of-the-box in such a package. Looks promising though!

@guyluz11
Copy link

guyluz11 commented Oct 18, 2024

So it looks like this is a long-awaited feature as it is also the same as #62.

@guyluz11
Copy link

Solved it, until my pr is merged you can just use my fork

animated_text_kit:
  git:
    url: https://github.com/guyluz11/Animated-Text-Kit.git
    ref: master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants