fluttercommunity / flutter_blurhash

Compact representation of a placeholder for an image. Encode a blurry image under 30 caracters for instant display like used by Medium. Maintainer: @Solido
https://pub.dev/packages/flutter_blurhash
MIT License
519 stars 65 forks source link

Added an imageProvider that decodes the blurHash. #12

Closed renefloor closed 4 years ago

renefloor commented 4 years ago

This makes it easier to use in other image widgets.

ImageProviders are very efficient in caching and reusing the image. In the current widget it very often re-decodes the blurhash.

Solido commented 4 years ago

Thanks you very much Rene for this optimisation !