PlayerTranscriptPage constructor
- {required String title,
- required List<
Subtitle> subtitles, - required ValueNotifier<
Subtitle?> currentSubtitle, - required Subtitle? nearestSubtitle,
- required ValueNotifier<
Subtitle?> autoPauseNotifier, - required SubtitleOptions subtitleOptions,
- required VlcPlayerController controller,
- required ValueNotifier<
bool> playingNotifier, - required ValueNotifier<
bool> endedNotifier, - required ValueNotifier<
bool> transcriptBackgroundNotifier, - required FutureOr<
void> onTap( )?, - required FutureOr<
void> onLongPress( )?, - required bool alignMode,
- Key? key,
- 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,
});