File tree Expand file tree Collapse file tree 1 file changed +6
-13
lines changed Expand file tree Collapse file tree 1 file changed +6
-13
lines changed Original file line number Diff line number Diff line change 1
- # loading_gifs_example
1
+ # Loading GIFs Example
2
2
3
- A demo app for loading indicator GIF types .
3
+ Use ` cupertinoActivityIndicator ` or ` circularProgressIndicator ` where ever a loading GIF is needed .
4
4
5
- ## Getting Started
5
+ ``` dart
6
+ FadeInImage.assetNetwork(placeholder: cupertinoActivityIndicator, image: "image.png", placeholderScale: 5);
6
7
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
+ ```
You can’t perform that action at this time.
0 commit comments