thumbnailer 3.2.0  thumbnailer: ^3.2.0 copied to clipboard
thumbnailer: ^3.2.0 copied to clipboard
Plugin that is able to generate thumbnails from files with various mime types. If thumbnail generation is not support for specific mime type, then a fallback icon is returned
Use this package as a library
Depend on it
Run this command:
With Flutter:
 $ flutter pub add thumbnailerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
  thumbnailer: ^3.2.0Alternatively, 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:thumbnailer/thumbnailer.dart';