SubtitleUtils class
A class for calling subtitle utility functions.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
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
Static Methods
-
convertAssSubtitles(
String inputPath) → Future< String> - Converts ASS subtitles to SRT and returns the data.
-
subtitlesFromFile(
{required File file, required SubtitleItemType type, String? source, String? metadata, int? index}) → Future< SubtitleItem> - Fetches a subtitle from a subtitle file.
-
subtitlesFromVideo(
{required File file, required int embeddedTrackCount, required dynamic onItemComplete(SubtitleItem)}) → Future< List< SubtitleItem> > - Gets a list of subtitles from a video file.
-
targetSubtitleFromVideo(
{required File file, required Language language, required dynamic onItemComplete(SubtitleItem)}) → Future< SubtitleItem?> - Gets a list of subtitles from a video file.