gskinner / gskinner/flutter_animate

Animate.delay has no effect when used with Animate.autoPlay=false

Open
#150 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
1.1k
Forks
103
PR merge metrics
No merged PRs in 30d

Description

I keep getting this warning. I have autoPlay set to an external boolean because they are waiting for some state to change before playing. But this throws a ton of warnings in my console.

What's the proper way to disable an animation to be played later?

Or how do I suppress these warnings?

```
flutter: \^[[48;5;229m\^[[38;5;0m[flutter_animate] Animate.delay has no effect when used with Animate.autoPlay=false<…>
flutter: \^[[48;5;229m\^[[38;5;0m[flutter_animate] Animate.onPlay is not called when Animate.autoPlay=false<…>
flutter: \^[[48;5;229m\^[[38;5;0m[flutter_animate] Animate.delay has no effect when used with Animate.autoPlay=false<…>
flutter: \^[[48;5;229m\^[[38;5;0m[flutter_animate] Animate.onPlay is not called when Animate.autoPlay=false<…>
flutter: \^[[48;5;229m\^[[38;5;0m[flutter_animate] Animate.delay has no effect when used with Animate.autoPlay=false<…>
flutter: \^[[48;5;229m\^[[38;5;0m[flutter_animate] Animate.onPlay is not called when Animate.autoPlay=false<…>
flutter: \^[[48;5;229m\^[[38;5;0m[flutter_animate] Animate.delay has no effect when used with Animate.autoPlay=false<…>
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.