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

The component has been re-rendered when slide into the screen #339

Open
tclxlewis-cheng opened this issue Apr 16, 2024 · 0 comments
Open

Comments

@tclxlewis-cheng
Copy link

tclxlewis-cheng commented Apr 16, 2024

Describe the bug
animated_text_kit: 4.2.2

When I scroll through the list, turn off the screen, and then slide into the screen, the animation-text-kit TyperAnimatedText in the list, which had already finished animating, gets a new animation and starts printing again! It seems to be affected by the ListView caching mechanism.

To Reproduce
Steps to reproduce the behavior:

  1. open a page and use ListView.builder ,set count with 20,the item return animated_text_kit TyperAnimatedText widget,
  2. in current screen,TyperAnimatedText animation works,all TyperAnimatedText start to show animation at same time ,
  3. slide out the screen,and then slide into the screen
  4. the TyperAnimatedText restart animate like rebuild

Expected behavior
TyperAnimatedText show animation just when first build

Screenshots
If applicable, add screenshots to help explain your problem.

Flutter:
Framework • revision 78666c8dc5 (4 months ago) • 2023-12-19 16:14:14 -0800
Engine • revision 3f3e560236
Tools • Dart 3.2.3 • DevTools 2.28.4

Dart:

  • version

Additional context
Add any other context about the problem here.

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

1 participant