VideoViewerSubtitle.content constructor

VideoViewerSubtitle.content(
  1. String content, {
  2. SubtitleType type = SubtitleType.webvtt,
})

Implementation

VideoViewerSubtitle.content(
  String content, {
  this.type = SubtitleType.webvtt,
})  : this.content = content,
      this._intializedType = _SubtitleIntializeType.string;