FLUTTER ECOSYSTEM

thumbnailer

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

Latest version
3.3.0
30-day downloads
4.5K
Likes
106
Pub points
150

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

Thumbnailer is a Flutter plugin that generates thumbnails from files of various MIME types, such as images, documents, and videos. When a file's MIME type does not support thumbnail generation, it returns a fallback icon. The plugin supports multiple platforms including Android, iOS, Web, macOS, and Windows, making it ideal for file browsing and preview features in cross-platform apps. It simplifies the process of displaying visual previews without requiring custom implementation for each file type.

Use cases
  • File explorer UIs
  • Document preview screens
  • Media gallery applications
  • Asset management tools
  • User upload previews
Key features
  • Supports multiple MIME types
  • Fallback icons for unsupported types
  • Cross-platform compatibility
  • Simple API integration
  • Automatic thumbnail generation
Suitable for
  • Developers building file managers
  • Apps needing visual file previews
  • Projects with diverse file type handling
  • Cross-platform desktop and mobile apps
  • UIs requiring quick asset visualization
Considerations
  • Limited to supported MIME types
  • Fallback icons may lack customization
  • Performance depends on file size
  • Requires platform-specific permissions on mobile
  • Not suitable for high-resolution output needs
Supported platformsAndroidiOSWebmacOSWindows

Install package

flutter pub add thumbnailer

Categories

Dependencies

Dependency list 4 items

Source repository

Related projects