thumbnailer 1.0.2

Flutter Android iOS web

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
6
likes
110
pub points
55%
popularity

Publisher

4q.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, native_pdf_renderer, native_pdf_view, spreadsheet_decoder

More

Packages that depend on thumbnailer