streams property

PlayerStreams streams
getter/setter pair

Current state of the player available as listenable Streams.

Implementation

late PlayerStreams streams = PlayerStreams(
  playlistController.stream.distinct(),
  playingController.stream.distinct(),
  completedController.stream.distinct(),
  positionController.stream.distinct(),
  durationController.stream.distinct(),
  bufferController.stream.distinct(),
  volumeController.stream.distinct(),
  rateController.stream.distinct(),
  pitchController.stream.distinct(),
  bufferingController.stream.distinct(),
  logController.stream.distinct(),
  errorController.stream.distinct(),
  audioParamsController.stream.distinct(),
  audioBitrateController.stream.distinct(),
  audioDeviceController.stream.distinct(),
  audioDevicesController.stream.distinct(),
  trackController.stream.distinct(),
  tracksController.stream.distinct(),
  widthController.stream.distinct(),
  heightController.stream.distinct(),
);