textTracks property

Future<List<TextTrack>?> get textTracks

The text tracks in the current video.

Implementation

Future<List<TextTrack>?> get textTracks async {
  if (!value.isInitialized || _isDisposed) {
    return null;
  }
  return _videoPlayerPlatform.getTextTracks(_playerId);
}