FLUTTER ECOSYSTEM

flutter_blurhash

Compact representation of placeholder for an image. Encode a blurry image under 30 characters for instant display like used by Medium

flutter_blurhash cover
Latest version
0.9.1
30-day downloads
147K
Likes
1.7K
Pub points
160

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

Flutter BlurHash is a lightweight package that enables compact, real-time placeholder generation for images using blurhash encoding. It encodes a blurred version of an image into a short string (under 30 characters), allowing instant display during loading—ideal for improving perceived performance in image-heavy apps. The encoded hash can be rendered directly as a placeholder, mimicking the original image's colors and structure before the actual image loads. This approach is widely used by platforms like Medium to enhance user experience.

Use cases
  • Image loading placeholders
  • Performance optimization in media-heavy apps
  • Instant visual feedback during image fetch
  • Progressive image rendering
  • Reducing perceived load time
  • Offline image previews
Key features
  • Ultra-compact hash representation
  • Real-time placeholder generation
  • Color-preserving blur effect
  • Cross-platform support
  • Easy integration with Image widgets
  • Low bandwidth usage
Suitable for
  • Apps with many images
  • Content feeds
  • Social media platforms
  • E-commerce apps
  • UIs prioritizing smooth loading
  • Developers seeking fast image placeholders
Considerations
  • Limited detail in very short hashes
  • Not suitable for high-fidelity previews
  • Requires decoding on client side
  • Best for low-resolution placeholders
  • May not match complex textures accurately
  • Hash must be precomputed or generated server-side
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add flutter_blurhash

Categories

Source repository

Related projects