Baseflow / Baseflow/flutter_cached_network_image
package crashes my app when more than 10 cached images widgets are used
- Dominant language
- Dart
- Stars
- 2.6k
- Forks
- 731
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 1
Description
## 🐛 Bug Report
when i use more than 10 cached network images my app crashes
this is my code:
```
CachedNetworkImage(
imageUrl: product == null ? productDetails!.imagesUrls[0] : product!.imageUrl,
imageBuilder: (context, imageProvider) {
return Container(
height: 200,
decoration: BoxDecoration(
image: DecorationImage(
image: imageProvider,
fit: BoxFit.cover,
),
),
);
},
progressIndicatorBuilder: (context, url, downloadProgress) {
return Container(
height: 200,
color: Colors.white,
child: Center(
child:CircularProgressIndicator(
value: downloadProgress.progress,
),
),
);
},
errorWidget: (context, url, error) => Icon(Icons.error),
),
```
### Expected behavior
it should not crash :)
### Reproduction steps
### Configuration
**Version:** flutter 2.2.1
**Platform:**
- [ ] :iphone: iOS
- [x] :robot: Android
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.