move method

Future move(
  1. Offset flickTarget
)

Implementation

Future move(Offset flickTarget) async {
  animation = Tween(
    begin: deltaNotifier.value,
    end: flickTarget,
  ).animate(CurvedAnimation(
    parent: animationController,
    curve: Curves.decelerate,
  ));
  animationController.forward(from: 0);
  await Future.delayed(const Duration(milliseconds: 333));
  return;
}