currentSpriteNotifier property

ValueNotifier<T?> currentSpriteNotifier

A ValueNotifier that notifies when the current sprite changes.

Implementation

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