FLUTTER ECOSYSTEM

blurhash_dart

A pure dart implementation of the BlurHash algorithm. This package provides both an encoder and a decoder, as well as some utility extensions.

Latest version
1.2.1
30-day downloads
56.8K
Likes
134
Pub points
160

Package Overview

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

Overview

BlurHash Dart is a pure Dart implementation of the BlurHash algorithm, enabling efficient generation and decoding of compact image placeholders. It provides encoder and decoder functionality along with useful utility extensions for seamless integration into Flutter applications. Ideal for displaying low-bandwidth previews of images during loading, it supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux. The package is lightweight and designed for performance without external dependencies.

Use cases
  • Generating image placeholders during loading
  • Creating low-resolution previews for large images
  • Improving perceived app performance with placeholder visuals
  • Integrating blur effects in image thumbnails
  • Optimizing image loading in network-heavy apps
Key features
  • Pure Dart implementation
  • Encoder and decoder included
  • Utility extensions for ease of use
  • Cross-platform compatibility
  • Lightweight and fast
  • No native dependencies
Suitable for
  • Flutter developers needing image placeholders
  • Apps with slow or variable network conditions
  • Performance-focused UI implementations
  • Developers avoiding platform-specific code
  • Projects requiring minimal third-party libraries
Considerations
  • Not suitable for high-fidelity image representation
  • Requires understanding of BlurHash concept
  • Limited to placeholder use cases
  • May not support advanced image processing features
  • Best used as a visual enhancement, not a replacement for actual images
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add blurhash_dart

Categories

Source repository

Related projects