TPStreamsPlayerValue constructor

const TPStreamsPlayerValue({
  1. bool isLoading = false,
  2. Duration duration = Duration.zero,
  3. Duration position = Duration.zero,
  4. bool isPlaying = false,
  5. bool isBuffering = false,
  6. bool isEnded = false,
  7. bool isFullScreen = false,
  8. TPStreamsError? error,
})

Implementation

const TPStreamsPlayerValue({
  this.isLoading = false,
  this.duration = Duration.zero,
  this.position = Duration.zero,
  this.isPlaying = false,
  this.isBuffering = false,
  this.isEnded = false,
  this.isFullScreen = false,
  this.error,
});