Custom Video Editor

Video editor designed for trimming and cropping videos.

Features

  • Crop

  • Trim

Custom video editor in display


How to use this package

In order to start editing a video, copy the code below and modify accordingly.

Future<void> editVideo(String videoLink) async {
    final updatedRes = await Navigator.push(context, MaterialPageRoute(builder: (context) {
      return EditVideoComponent(videoLink: videoLink);
    }));
    if(updatedRes != null && updatedRes is FinishedVideoData){
      VideoPlayerController getController = VideoPlayerController.file(File(updatedRes.url));
      await getController.initialize();
      controller = getController;
      width = updatedRes.size.width;
      height = updatedRes.size.height;
    }
}

Libraries

main
VideoEditor