video_thumbnail_gen 0.6.1
video_thumbnail_gen: ^0.6.1 copied to clipboard
A production-grade Flutter plugin for generating video thumbnails on Android and iOS. Supports JPEG, PNG, WebP, and HEIC formats with batch extraction, video metadata, in-memory caching, content:// UR [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add video_thumbnail_genThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
video_thumbnail_gen: ^0.6.1Alternatively, 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_thumbnail_gen/video_thumbnail_gen.dart';