flutter_blurhash
flutter_blurhash copied to clipboard
Universal BlurHash widget
Remote resource to download image is very specific way to use BlurHash widget. Images could be loaded in many different ways using different protocols. Could be nice to make BlurHash widget universal.
Yes, to solve this i had build a package blurhash_ffi that takes in any ImageProvider subclass, which includes AssetImage, NetworkImage, MemoryImage, etc. it has both encoding and decoding which runs on a separate isolate with native C bindings found in original blurha.sh implementation.
It has Same API as flutter_blurhash and blurhash_dart, which is nice because you don't have to change much in your code.
Checkout if you are interested!