flutter_animate
flutter_animate copied to clipboard
Add an optional transformer function to ValueNotifierAdapter
It may occasionally be useful to be able to specify a function to transform the notifier value before it is assigned to the controller.
Yeah, makes sense. But that transformation may not always be in the range [0-1]
. So the result should be clamped between 0 and 1?