gskinner / gskinner/flutter_animate
Allow onInit to prevent play
Open
enhancement
- Dominant language
- Dart
- Stars
- 1.1k
- Forks
- 103
- PR merge metrics
- No merged PRs in 30d
Description
It could be useful to allow `onInit` handlers to return a boolean to override `autoPlay`.
``` dart
foo.animate(
onInit: (c) {
// do some stuff
return false; // prevent autoplay
}
).fadeIn()
```
Maybe have the return type be `bool?` to allow for backwards compatibility.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.