VideoEditorController.file constructor

VideoEditorController.file(
  1. File file, {
  2. TrimSliderStyle? trimStyle,
})

Constructs a VideoEditorController that edits a video from a file.

Implementation

VideoEditorController.file(
  this.file, {
  TrimSliderStyle? trimStyle,
})  : _video = VideoPlayerController.file(file),
      trimStyle = trimStyle ?? TrimSliderStyle();