Skip to content

Commit 5acc99e

Browse files
committed
Create Example
1 parent 8bfd38f commit 5acc99e

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

example/README.md

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
1-
# loading_gifs_example
1+
# Loading GIFs Example
22

3-
A demo app for loading indicator GIF types.
3+
Use `cupertinoActivityIndicator` or `circularProgressIndicator` where ever a loading GIF is needed.
44

5-
## Getting Started
5+
```dart
6+
FadeInImage.assetNetwork(placeholder: cupertinoActivityIndicator, image: "image.png", placeholderScale: 5);
67
7-
This project is a starting point for a Flutter application.
8-
9-
A few resources to get you started if this is your first Flutter project:
10-
11-
- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
12-
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
13-
14-
For help getting started with Flutter, view our
15-
[online documentation](https://flutter.dev/docs), which offers tutorials,
16-
samples, guidance on mobile development, and a full API reference.
8+
Image.asset(circularProgressIndicator, scale: 10);
9+
```

0 commit comments

Comments
 (0)