positionedTransition method
Animated version of Positioned which takes a specific Animation
Only works if it's the child of a Stack.
Implementation
Widget positionedTransition({
required Animation<RelativeRect> rect,
Key? key,
}) {
return PositionedTransition(
key: key,
rect: rect,
child: this,
);
}