Grant Skinner

Results 147 comments of Grant Skinner
trafficstars

Added a ColorEffect which covers this use case. See f4eff3c1798c45c822aebe751b0804ed98ea5fe3

Now that v4.0 is released, this issue is going to be my next focus. Here's a quick summary of my current thoughts based on the above: - add `autoPlay` —...

I'm mostly just thinking there may be cases where you want to react to the total duration of the animation. I honestly can't think of a great reason for this,...

I just pushed a commit that adds `autoPlay` and `onInit`. I'd love to have people try it out before I do a public release so I can be sure it's...

That error looks like it's coming from an `Adapter`, specifically a `ValueNotifierAdapter`, but I don't see one in your code. Is it perhaps something else in your app throwing that...

Closing as resolved via 0aecdacb5418f03fe13012bc173e78daabf670d8

I just added a new parameter to `Animate` that handles many of these cases, and I would love feedback before I roll it into a `v2.1` release. You can now...

The `target` param is now available in v2.1. Let me know if it does what you need. https://github.com/gskinner/flutter_animate#reacting-to-state-changes

If you just set target to 0 initially, it should not animate.

so you want it to start at scale 1, then when the user presses, it jumps to scale=0, and animates back up to scale=1?