currentSpriteNotifier property

ValueNotifier<T?> get currentSpriteNotifier

A ValueNotifier that notifies when the current sprite changes.

Implementation

ValueNotifier<T?> get currentSpriteNotifier =>
    _currentSpriteNotifier ??= ValueNotifier<T?>(_current);