Shawn

Results 209 comments of Shawn

I also agree `autoPlay` is an obvious feature to have, but for now the recommended approach is to stop the animation within the onPlay callback: ``` onPlay: (c) => _controller...

No, `onPlay` is called once when the tween initially starts, or when the animation is re-started due to widget props (or target) changing. But you it won't be called if...

With regards to `onInit` I would expect to be basically the equivalent to `initState`, called once and only once. But in the case that you do re-create a controller, I...

Couple thoughts to toss in: 1. tatumizer is totally right that UI code, especially the way flutter was designed, has a disproportionate number of nullable params. Since the entire framework...

What worries me in general is that the current guidance is to use `!` as _the_ a workaround for non-local null-checks being ignored by the Analyzer. This is fundamentally a...

Ya the new records from C# really make me jealous, it would be so amazing to just write: `public data User(string firstName, String lastName)` And have equality, copyWith, toJson and...

Fwiw, this would be nice for the new Restorable API in flutter, so we don't need to constantly repeat ourselves: **"someInt" is redundant here almost all the time:** ``` RestorableInt...

Right, thanks for the correction. The longer method is still preferred as it's avoids the magic strings and lets the compiler keep the names in sync.

Another real world use case we came across, We're trying to come up with some concise method of re-using state in a StatelessWidget in Flutter. Landed on an API that...

Is there any updates on this bug? We're interested in getting the basic tracking info, but do not want the complications of using the new IVRInput system. Is there any...