gskinner / gskinner/flutter_animate
AnimationController.forward() called after AnimationController.dispose()
- Dominant language
- Dart
- Stars
- 1.1k
- Forks
- 103
- PR merge metrics
- No merged PRs in 30d
Description
hi
I'm enjoying the package primarily because i'm not that familiar with animations in flutter and this package make it easy to implement.
i'm getting this error everytime i switch from one view to another while a delay of some sort is on (for example with animatedList with intervals or a big delay)
it was my understanding that the package had its own controller so i didnt thought about disposing it or anything else
here a simple section that triggers the error, increasing the interval make it easy to trigger while testing
```
Expanded(
child: SingleChildScrollView(
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: homeButtons
.toList()
.animate(interval: 50.ms)
.fade(duration: 300.ms),
),
),
),
```
thank you for your time
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.