setShowSubtitle method

bool setShowSubtitle(
  1. bool show
)

Set whether to show subtitles.

Implementation

bool setShowSubtitle(bool show) {
  if (!disposed && show != showSubtitle.value) {
    showSubtitle.value = show;
    if (id.value != null) {
      _setShowSubtitle();
    }
    return true;
  }
  return false;
}