Skip to content

Commit 0eefd29

Browse files
committed
v0.2.2 Release
1 parent 0daa0d4 commit 0eefd29

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 0.2.2
4+
- Create 1x1 pixel empty placeholder image.
5+
36
## 0.2.1
47
- Update ReadMe images and links.
58

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ The small variant should be used when loading a list of images or compositing an
6262
)
6363
```
6464

65+
### Empty Placeholder
66+
67+
`FadeInImage` requires a valid placeholder image to avoid "Asset not found" errors. Use `placeholderEmpty`, a 1x1 pixel transparent PNG, when an empty placeholder is needed.
68+
69+
```dart
70+
FadeInImage.assetNetwork(placeholder: placeholderEmpty, image: "image.png");
71+
```
72+
6573
## Assets
6674

6775
### iOS (Cupertino) Loading Indicators

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: loading_gifs
22
description: Loading indicator GIFs. Material and Cupertino (Android and iOS) loading indicators in assorted sizes. Use as placeholders for loading remote image assets.
3-
version: 0.2.1
3+
version: 0.2.2
44
homepage: https://codelessly.com
55
repository: https://github.com/Codelessly/FlutterLoadingGIFs
66
issue_tracker: https://github.com/Codelessly/FlutterLoadingGIFs/issues

0 commit comments

Comments
 (0)