callback method
Adds a callback
extension to AnimateManager (Animate and AnimateList).
Implementation
T callback({
Duration? delay,
Duration? duration,
required ValueChanged<bool> callback,
}) =>
addEffect(CallbackEffect(
delay: delay,
duration: duration,
callback: callback,
));