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
.
Source
typedef RectTween CreateRectTween(Rect begin, Rect end);