SenzuPlayerCoreView constructor

const SenzuPlayerCoreView({
  1. Key? key,
  2. required SenzuPlayerBundle bundle,
  3. required SenzuPlayerStyle? style,
  4. required SenzuMetaData? meta,
  5. required bool enableCaption,
  6. required bool enableQuality,
  7. required bool enableAudio,
  8. required bool enableSpeed,
  9. required bool enableAspect,
  10. required bool enableFullscreen,
  11. required bool enablePip,
  12. required bool enableLock,
  13. required bool enableEpisode,
  14. required double defaultAspectRatio,
  15. required bool enableSleep,
  16. List<SenzuChapter> chapters = const [],
})

Implementation

const SenzuPlayerCoreView({
  super.key,
  required this.bundle,
  required this.style,
  required this.meta,
  required this.enableCaption,
  required this.enableQuality,
  required this.enableAudio,
  required this.enableSpeed,
  required this.enableAspect,
  required this.enableFullscreen,
  required this.enablePip,
  required this.enableLock,
  required this.enableEpisode,
  required this.defaultAspectRatio,
  required this.enableSleep,
  this.chapters = const [],
});