stateNotifier property
Current player state for the stream.
This tracks whether the stream is currently playing, stopped, or in an error state.
Implementation
ValueNotifier<ZegoPlayerState> stateNotifier = ValueNotifier(
ZegoPlayerState.NoPlay,
);