XVideoPlayerStateChanged constructor

const XVideoPlayerStateChanged(
  1. int handle, {
  2. bool? isPlaying,
  3. bool? isBuffering,
  4. Duration? position,
  5. List<XDurationRange>? buffered,
})

Carries whichever fields changed; the rest stay null.

Implementation

const XVideoPlayerStateChanged(
  super.handle, {
  this.isPlaying,
  this.isBuffering,
  this.position,
  this.buffered,
});