swap method
Adds a swap extension to AnimateManager (Animate and AnimateList).
Implementation
T swap({
Duration? delay,
Duration? duration,
required TransitionBuilder builder,
}) =>
addEffect(SwapEffect(
delay: delay,
duration: duration,
builder: builder,
));