gskinner / gskinner/image_fade

Placeholder issue

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
29
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Placeholder isn't displaying while new image loading.

Inside the```SliverList``` when new item added to it, placeholder not displayed for new item. Old image is displaying until new one is loading

```dart
ImageFade(placeholder: isDarkTheme
? Graphics.placeholderDarkImage
: Graphics.placeholderLightImage,
image: FirebaseImage(_item.getImageUrl(_channel)),
errorBuilder: ((context, obj) => isDarkTheme
? Graphics.placeholderDarkImage
: Graphics.placeholderLightImage),
duration: const Duration(milliseconds: 150),
syncDuration: const Duration(milliseconds: 0),
fit: BoxFit.cover)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with the provided ImageFade configuration inside a SliverList when a new item is added. Inspect how the image and placeholder are updated during loading; done means the new item shows its placeholder instead of retaining the old image until loading finishes.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.