thumbnailer 2.1.0 copy "thumbnailer: ^2.1.0" to clipboard
thumbnailer: ^2.1.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
86
likes
150
pub points
91%
popularity

Publisher

verified publisher4q.eu

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)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, font_awesome_flutter, pdfx, spreadsheet_decoder

More

Packages that depend on thumbnailer