thumbnailer 3.0.0 copy "thumbnailer: ^3.0.0" to clipboard
thumbnailer: ^3.0.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

thumbnailer #

pub package

A Flutter plugin that is able to generate thumbnails for images, pdf and xlsx files

  • if thumbnail generation is not supported for specific mime type, then a fallback icon from FontAwesome is returned
  • supports registering custom mime type handlers for dynamic extendability
  • resulting thumbnail (or fallback icon) is flutter widget
  • supports custom resizing/styling of the resulting thumbnail

Why #

In time of creation of this plugin, there was no available solution on pub.dev

Usage #

To use this plugin, add thumbnailer as a dependency in your pubspec.yaml file.

Example #

Check the example tab here in pub.dev or example project on github

Contribution and Support #

  • Contributions are welcome!
  • If you want to contribute code please create a PR
  • If you find a bug or want a feature, please fill an issue
88
likes
150
points
7.95k
downloads

Publisher

verified publisher4q.eu

Weekly Downloads

2024.09.10 - 2025.03.25

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

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, font_awesome_flutter, pdfx, spreadsheet_decoder, win32

More

Packages that depend on thumbnailer