CreateRectTween typedef
Signature for a function that takes two Rect instances and returns a RectTween that transitions between them.
This is typically used with a HeroController to provide an animation for Hero positions that looks nicer than a linear movement. For example, see MaterialRectArcTween.
Implementation
typedef CreateRectTween = Tween<Rect> Function(Rect begin, Rect end);