Baseflow / Baseflow/flutter_cache_manager
If image (DOES NOT EXIST) AND (maxWidth/maxHeight) ARE set, the stream never closes
- Lenguaje dominante
- Dart
- Estrellas
- 809
- Forks
- 510
- Merge medio
- 6 min
- PR fusionados (30 d)
- 1
Descripción
If image (DOES NOT EXIST) AND (maxWidth/maxHeight) ARE set, the stream never closes and there is endless waiting for the image. Especially a problem when trying to get images in a FutureBuilder or when doing a retry to get the image again, nothing happens as an image streamlistener is already running.
This is in the context of a `CachedNetworkImageProvider`.
Removing (maxWidth/maxHeight) solves the issue. Then the stream closes and things work as they should.
Guía de contribución
Línea de trabajo
Start at CachedNetworkImageProvider and reproduce the issue with a missing image while maxWidth or maxHeight is set. Verify that the image stream closes and that a FutureBuilder or retry can request the image again without an existing listener blocking it.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- dart, flutter
- Área
- mobile
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 38/100