availableSubtitles property

  1. @override
Future<List<SubtitleTrack>> get availableSubtitles

A list of all available SubtitleTracks of the active Source, including "off" subtitle track.

Implementation

@override
Future<List<SubtitleTrack>> get availableSubtitles async =>
    _playerPlatformInterface.availableSubtitles;