showSubtitle property

ValueNotifier<bool> showSubtitle
final

Whether to show subtitles. By default, the player does not show any subtitle. Regardless of the preferred subtitle language or override tracks.

Implementation

final showSubtitle = ValueNotifier(false);