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

bug: showBadge not respected when badgeAnimation is fading on loop #114

Open
AlexDochioiu opened this issue Apr 22, 2023 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@AlexDochioiu
Copy link

Environment

Package version: 3.1.1
Platform: Android (did not check others)
Device information: not relevant

Description

Setting badgeAnimation to loop fade BadgeAnimation.fade(animationDuration: Duration(milliseconds: 2000), loopAnimation: true), causes showBadge to be ignored. (Even if showBadge is false, the badge still flashes)

@AlexDochioiu AlexDochioiu added the bug Something isn't working label Apr 22, 2023
zulfequar referenced this issue in zulfequar/flutter_badges Nov 30, 2023
…ethod

Modify the code so that animations are handled (controlled) everytime a badge widget's build method is called.
* If the showBadge property of a badge is true: Run the animations
* If the showBadge property of a badge is false: Stop the animations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants