PlayerController constructor

PlayerController(
  1. AbstractSettingsRepository _settingsRepository,
  2. ChatService? _chatService, {
  3. void shouldClose()?,
  4. required Paginated<String, MediaItem> source,
  5. String initialKey = '',
  6. int initialIndex = 0,
  7. ResourceId? resourceId,
})

Implementation

PlayerController(
  this._settingsRepository,
  this._chatService, {
  this.shouldClose,
  required this.source,
  this.initialKey = '',
  this.initialIndex = 0,
  this.resourceId,
}) : key = RxString(initialKey);