Grant Skinner

Results 147 comments of Grant Skinner
trafficstars

I don't have a strong opinion from a semantics perspective, but it's one less Effect class to maintain and update. :)

From the README: > Note that effects are "active" for the duration of the full animation, so for example, two fade effects on the same target can have unexpected results...

Actually, I'm going to leave this open as a discussion thread on ways to improve this.

Thinking out loud here, but one way to deal with this is to make FadeEffect aware of previous effects. This isn't trivial, and would likely require: 1. Define an `AdvancedEffect`...

Another option would be a purpose built effect `MultiFadeEffect` (name TBD). ``` foo.animate() .multifade(values: [0, 1], durations: [500.ms, 700.ms]) ``` This is a lot simpler to implement and a lot...

One more, that I don't think I like at all, but am writing up for reference: Add a setting to `FadeEffect` that tells it to return to neutral when it...

@eggcaker - just switch your effect when you switch the button label from a fadeOut to a fadeIn.

This sounds like a Flutter framework issue. We're not using any platform specific code in Animate, so it should "just work". Would you mind filing an issue against Flutter and...

Are you targeting html or canvaskit renderer? If you're using HTML, it may be due to this issue? https://github.com/flutter/flutter/issues/85140

I just did an audit in iOS Simulator, and the following effects do not render correctly using Flutter's HTML renderer, though all do partially render, they just exhibit issues (don't...