Example cached_network_image
CachedNetworkImage(
imageUrl: item.imageUrl,
placeholder: (context, url) => Shimmer.fromColors(
baseColor: Colors.grey[300]!,
highlightColor: Colors.grey[100]!,
child: Container(color: Colors.white),
),
errorWidget: (context, url, error) => const Icon(Icons.error),
memCacheWidth: 300,
memCacheHeight: 200,
fadeInDuration: const Duration(milliseconds: 200),
)