video_trimmer_2 0.1.2
video_trimmer_2: ^0.1.2 copied to clipboard
A Flutter plugin to trim videos on Android and iOS. An alternate to ffmpeg to trim and export videos.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add video_trimmer_2
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
video_trimmer_2: ^0.1.2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:video_trimmer_2/video_trimmer_2.dart';