SubtitleProvider class
Use it for provide the subtitle from:
Constructors
- SubtitleProvider.fromAssets(String path)
-
Assets: use it SubtitleProvider.fromAssets() to provide the assets file, for example:
factory
- SubtitleProvider.fromFile(File file)
-
File: use it SubtitleProvider.fromFile() by provide the file to load subtitles, for example:
factory
- SubtitleProvider.fromNetwork(String url)
-
Network: use SubtitleProvider.fromNetwork() and give it a url, for example:
factory
- SubtitleProvider.fromString(String data)
-
String: use it to provide a string for generate a subtitles, for example:
factory
Properties
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