SubtitleController class

Constructors

SubtitleController({String? subtitleUrl, Map<String, String>? headers, String? subtitlesContent, bool showSubtitles = true, SubtitleDecoder? subtitleDecoder, SubtitleType subtitleType = SubtitleType.webvtt})

Properties

hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showSubtitles bool
final
subtitleDecoder SubtitleDecoder?
getter/setter pair
subtitlesContent String?
getter/setter pair
subtitleType SubtitleType
getter/setter pair
subtitleUrl String?
getter/setter pair
timeOffset int
getter/setter pair

Methods

attach(SubtitleBloc subtitleBloc) → void
detach() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setTimeOffset(int offset) → void
toString() String
A string representation of this object.
inherited
updateSubtitleContent({required String content}) → void
updateSubtitleUrl({required String url, Map<String, String>? headers}) → void

Operators

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