Baseflow / flutter_cached_network_image

Download, cache and show images in a flutter app
https://baseflow.com
2.45k stars 657 forks source link

use a blur hash as a placeholder causes flickers #962

Open bjwxy opened 3 months ago

bjwxy commented 3 months ago

🐛 Bug Report

Use a blur hash as a placeholder causes flickers

Seems like the flickering was caused by multiple calls to placeholderbuilder.

Expected behavior

No flickers at all

Reproduction steps

CachedNetworkImage( imageUrl: url, placeholder: (context, url) { return BlurHash( hash: blurHashString, ); }, fit: BoxFit.contain, ),

Configuration

Version: latest

Platform: