move method
Implementation
Future move(Offset snapTarget) async {
animation = Tween(
begin: deltaNotifier.value,
end: snapTarget,
).animate(
CurvedAnimation(
parent: animationController,
curve: Curves.fastOutSlowIn,
),
);
if (animationController.isAnimating) animationController.stop();
animationController.forward(from: 0);
await Future.delayed(const Duration(milliseconds: 333));
return;
}