VideoPlayerController.file constructor
VideoPlayerController.file(
- String dataSource
Constructs a VideoPlayerController playing a video from a file.
This will load the file from the file-URI given by:
'file://${file.path}'
.
Implementation
VideoPlayerController.file(this.dataSource)
: dataSourceType = DataSourceType.file,
package = null,
formatHint = null,
super(VideoPlayerValue(duration: null));