onChangePlaybackState property
Callback to the video playback state to know whether it is currently playing or paused.
Returns a boolean
value. If true
, video is currently
playing, otherwise paused.
Implementation
final Function(bool isPlaying)? onChangePlaybackState;