custom_video_editor 1.0.3 copy "custom_video_editor: ^1.0.3" to clipboard
custom_video_editor: ^1.0.3 copied to clipboard

PlatformAndroid

Video editor designed for trimming and cropping videos.

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;
    }
}