We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a51d335 commit 0daa0d4Copy full SHA for 0daa0d4
assets/images/placeholder_empty.png
68 Bytes
lib/loading_gifs.dart
@@ -37,3 +37,13 @@ const String circularProgressIndicator =
37
/// ```
38
const String circularProgressIndicatorSmall =
39
"packages/loading_gifs/assets/images/circular_progress_indicator_small.gif";
40
+
41
+/// Transparent 1x1 pixel empty placeholder.
42
+/// [FadeInNetworkImage] requires a valid placeholder
43
+/// image. Use this empty placeholder to avoid
44
+/// AssetBundle errors.
45
+/// ```dart
46
+/// FadeInImage.assetNetwork(placeholder: placeholderEmpty, image: 'image_path');
47
+///```
48
+const String placeholderEmpty =
49
+ "packages/loading_gifs/assets/images/placeholder_empty.png";
0 commit comments