fromTween<T> method
Set animation explicitly by defining the Tween.
The callback exposes the currentValue value
Implementation
T? fromTween<T>(Tween<T?> Function(T? currentValue) fn, [String? name]) {
_hasTween = true;
return _animate.fromTween(fn, name);
}