AnimationRaiiExt<T> extension
Extension that provides a more direct way to add lifecycle-managed status listeners to Animation object.
- on
-
- Animation<
T>
- Animation<
Methods
-
addStatusListenerWithLifecycle(
RaiiLifecycleAware lifecycleAware, AnimationStatusListener onListen, {String? debugLabel}) → void -
Available on Animation<
Adds a status listener that will be automatically removed when theT> , provided by the AnimationRaiiExt extensionlifecycleAwareis disposed.