Baseflow / Baseflow/flutter_cached_network_image

CachedNetworkImage doesn't work with more four links of firebase storage images

Open
#826 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
2.6k
Forks
731
Avg merge
3d 9h
Merged PRs (30d)
1

Description

## 🐛 Bug Report

I tried to create a ListView where shows images from firebase storage.
If I use more then four links the some images didn't cache.

The link is like: 'https://firebasestorage.googleapis.com/v0/b/foo-dev.appspot.com/o/users%2F2SBlWzbIRG9vtp7X30cP%2Fcfeeabe2-e959-4462-b142-5de9abb6bf5e.jpeg?alt=media&token=484edf6e-87bc-44ad-838c-6183c5ca557d'

### Expected behavior
All images should be cached

### Reproduction steps
```
class ListContent extends StatelessWidget {
ListContent({Key? key}) : super(key: key);

final images = [
'link_01', 'link_02', 'link_03', 'link_04', 'link_05',
];

@override
Widget build(BuildContext context) {
return ListView.builder(
itemBuilder: (BuildContext context, int index) => Card(
child: Column(
children: [
CachedNetworkImage(
imageUrl: images[index.remainder(images.length)],
placeholder: (BuildContext context, String url) => Container(
width: 320,
height: 240,
color: Colors.purple,
),
),
],
),
),
itemCount: 250,
);
}
}

```

**Version:** ^3.2.3

**Platform:**
- [ x] :iphone: iOS
- [ x] :robot: Android

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.