flutter_cached_network_image icon indicating copy to clipboard operation
flutter_cached_network_image copied to clipboard

CachedNetworkImage will render twice

Open YellowDoing opened this issue 2 years ago • 2 comments

Container( constraints:BoxConstraints(maxHeight: 218), child: CachedNetworkImage(imageUrl: imageUrls), )

The position of the image is center when first render,

and then it will to left at the second render(That's right).

How to resolve this problem, thank you.

YellowDoing avatar Jan 06 '23 08:01 YellowDoing

I am facing the same issue. It starts out centered and then shifts to the alignment as specified after a few milliseconds.

felixgabler avatar Jun 14 '23 07:06 felixgabler

Same issue. I checked by replacing CachedNetworkImage with NetworkImage of Flutter the image is aligned correctly. But when using CachedNetworkImage the image first loads at the center and then shifts to the left. Very disturbing issue and hampering UX.

yashwp avatar Jun 27 '23 15:06 yashwp