stateNotifier property

ValueNotifier<AnimatedTextState> stateNotifier
final

A ValueNotifier that holds the current state of the animation. Listeners can be attached to react when the state changes.

Implementation

final ValueNotifier<AnimatedTextState> stateNotifier =
    ValueNotifier<AnimatedTextState>(AnimatedTextState.playing);