PlayerController constructor
- AbstractSettingsRepository _settingsRepository,
- ChatService? _chatService, {
- void shouldClose()?,
- required Paginated<
String, MediaItem> source, - String initialKey = '',
- int initialIndex = 0,
- ResourceId? resourceId,
Implementation
PlayerController(
this._settingsRepository,
this._chatService, {
this.shouldClose,
required this.source,
this.initialKey = '',
this.initialIndex = 0,
this.resourceId,
}) : key = RxString(initialKey);