AnimateInitCallback typedef

AnimateInitCallback = dynamic Function(AnimationController controller)

Initialization callback that may return a bool to override automatic playback.

The dynamic return type accepts both existing void callbacks and callbacks with explicit bool returns, including block-bodied closures. Only bool results affect playback; other values and Futures are ignored.

Implementation

typedef AnimateInitCallback = dynamic Function(AnimationController controller);