DVCaptions.track constructor
DVCaptions.track(
- String language,
- DVMediaSource source, {
- String? label,
- bool showByDefault = true,
One track from a file.
Implementation
DVCaptions.track(String language, DVMediaSource source,
{String? label, this.showByDefault = true})
: tracks = List<DVCaptionTrack>.unmodifiable(<DVCaptionTrack>[
DVCaptionTrack.source(language, source, label: label),
]),
initial = language;