VideoPlayerController.asset constructor
VideoPlayerController.asset(
- String dataSource, {
- String? package,
- Future<
ClosedCaptionFile> ? closedCaptionFile, - VideoPlayerOptions? videoPlayerOptions,
Implementation
VideoPlayerController.asset(this.dataSource, {this.package, this.closedCaptionFile, this.videoPlayerOptions})
: dataSourceType = DataSourceType.asset,
formatHint = null,
httpHeaders = const {},
super(VideoPlayerValue(duration: Duration.zero));