Skip to content

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

@lukepighetti

Description

@lukepighetti

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<…>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions