PlayerTranscriptPage constructor

const PlayerTranscriptPage(
  1. {required String title,
  2. required List<Subtitle> subtitles,
  3. required ValueNotifier<Subtitle?> currentSubtitle,
  4. required Subtitle? nearestSubtitle,
  5. required ValueNotifier<Subtitle?> autoPauseNotifier,
  6. required SubtitleOptions subtitleOptions,
  7. required VlcPlayerController controller,
  8. required ValueNotifier<bool> playingNotifier,
  9. required ValueNotifier<bool> endedNotifier,
  10. required ValueNotifier<bool> transcriptBackgroundNotifier,
  11. required FutureOr<void> onTap(
    1. int
    )?,
  12. required FutureOr<void> onLongPress(
    1. int
    )?,
  13. required bool alignMode,
  14. Key? key,
  15. MediaItem? item}
)

Create an instance of this page.

Implementation

const PlayerTranscriptPage({
  required this.title,
  required this.subtitles,
  required this.currentSubtitle,
  required this.nearestSubtitle,
  required this.autoPauseNotifier,
  required this.subtitleOptions,
  required this.controller,
  required this.playingNotifier,
  required this.endedNotifier,
  required this.transcriptBackgroundNotifier,
  required this.onTap,
  required this.onLongPress,
  required this.alignMode,
  super.key,
  super.item,
});