animatedPosition method
Implementation
AnimatedPositioned animatedPosition(
{Curve curve = Curves.linear,
Duration duration = const Duration(milliseconds: 300),
double? left,
double? top,
double? right,
double? bottom,
double? width,
double? height,
VoidCallback? onEnd}) {
return AnimatedPositioned(
key: key,
left: left,
top: top,
right: right,
bottom: bottom,
curve: curve,
width: width,
height: height,
duration: duration,
onEnd: onEnd,
child: this);
}