attachAnimationController method

void attachAnimationController(
  1. AnimationController controller,
  2. VoidCallback onAnimateOut
)

System Architecture Bridge: Binds structural animation state parameters, tickers, and layout microtasks straight from the parent state tree.

  • controller represents the primary driving transition timeline engine.
  • onAnimateOut provides a structural canvas synchronization callback hook.

This method is reserved for package framework initialization routines and must not be manually invoked within consumer application code.

Implementation

void attachAnimationController(AnimationController controller, VoidCallback onAnimateOut) {
  _animationController = controller;
  _onAnimateOutTrigger = onAnimateOut;
}