PlayerTranscriptPage class

Shown when the user scrolls vertically in the player.

Inheritance

Constructors

PlayerTranscriptPage({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(int)?, required FutureOr<void> onLongPress(int)?, required bool alignMode, Key? key, MediaItem? item})
Create an instance of this page.
const

Properties

alignMode bool
Whether or not the transcript was opened for aligning subtitles.
final
autoPauseNotifier ValueNotifier<Subtitle?>
Subtitle from auto pause.
final
controller → VlcPlayerController
Controller for the player.
final
currentSubtitle ValueNotifier<Subtitle?>
Subtitle to be highlighted.
final
endedNotifier ValueNotifier<bool>
Notifier for whether or not the player has ended.
final
hashCode int
The hash code for this object.
read-onlyinherited
item MediaItem?
The media item pertaining to this usage instance of the source.
finalinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
nearestSubtitle → Subtitle?
Nearest subtitle if no initial subtitle.
final
onLongPress → (FutureOr<void> Function(int)?)
Mine action.
final
onTap → (FutureOr<void> Function(int)?)
Seek action.
final
playingNotifier ValueNotifier<bool>
Notifier for whether or not the player is playing.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
subtitleOptions SubtitleOptions
Current subtitle options used in the player.
final
subtitles List<Subtitle>
All subtitles in the current video.
final
title String
Title of video.
final
transcriptBackgroundNotifier ValueNotifier<bool>
Notifier for whether or not to show the transcript background.
final

Methods

createElement() ConsumerStatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() BaseSourcePageState<BaseSourcePage>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited