SubtitleItem class

Represents subtitles that can be used in the player.

Constructors

SubtitleItem({required SubtitleController controller, required SubtitleItemType type, String? source, String? metadata, int? index})
Initialise an item.

Properties

controller ↔ SubtitleController
The controller that contains the content of the subtitle.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
index int?
Used to possibly identify the order of a subtitle.
read / write
metadata String?
Used to possibly identify the content of a subtitle.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
source String?
Used to identify the source of a subtitle. This could be a filename.
read / write
type SubtitleItemType
The type of the subtitle, embedded, external, etc.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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