code: public static void animate(Element sourceElement, Element targetElement, Functions.Func animateCallback) {
          MaterialPathAnimator animator = new MaterialPathAnimator();
          animator.setSourceElement(sourceElement);
          animator.setTargetElement(targetElement);
          animator.setAnimateCallback(animateCallback);
          animator.animate();
      }
docs: Helper method to apply the path animator with callback.
  
  @param sourceElement   Source widget to apply the Path Animator
  @param targetElement   Target widget to apply the Path Animator
  @param animateCallback The callback method to be called when the path animator is applied