Baseflow / Baseflow/flutter_cached_network_image

Feature Request: Support null

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

Description

In some cases, it would be nice to set the imageUrl to null, as we load in a new image.

For example:
1. User picks image from gallery
2. Start uploading new image to cloud
3. While image is uploading, set imgUrl to null, causing old image to fade out.
4. When upload completes (1-2s later), set imgUrl to new url, causing new image to fade in.

As it stands now, you have to leave the old image in place, while the new one uploads, which looks a little janky. Ideally it would just elegantly handle a null url, and fade out the current image.

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.