Skip to content

Commit 1814ed4

Browse files
committed
Create Documentation
1 parent da4bc7d commit 1814ed4

File tree

5 files changed

+129
-2
lines changed

5 files changed

+129
-2
lines changed

README.md

Lines changed: 129 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,129 @@
1-
# FlutterLoadingGIFs
2-
Loading indicator GIFs. Cupertino and Material style loading indicators in various sizes. Placeholder for loading remote image assets.
1+
![Loading Gifs Cover](packages/Loading%20GIFs%20Cover.gif)
2+
# [Loading GIFs](https://gallery.imfast.io/flutterwebsites/loadinggifs/)
3+
[![GitHub release](https://img.shields.io/github/release/Codelessly/FlutterLoadingGIFs.svg?style=flat-square)](https://github.com/Codelessly/FlutterLoadingGIFs/releases) [![GitHub Release Date](https://img.shields.io/github/release-date/Codelessly/FlutterLoadingGIFs.svg?style=flat-square)](https://github.com/Codelessly/FlutterLoadingGIFs/releases) [![GitHub issues](https://img.shields.io/github/issues/Codelessly/FlutterLoadingGIFs.svg?style=flat-square)](https://github.com/Codelessly/FlutterLoadingGIFs/issues) [![GitHub top language](https://img.shields.io/github/languages/top/Codelessly/FlutterLoadingGIFs.svg?style=flat-square)](https://github.com/Codelessly/FlutterLoadingGIFs) [![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/Codelessly/FlutterLoadingGIFs.svg?style=flat-square)](https://github.com/Codelessly/FlutterLoadingGIFs) [![Libraries.io for GitHub](https://img.shields.io/librariesio/github/Codelessly/FlutterLoadingGIFs.svg?style=flat-square)](https://libraries.io/github/Codelessly/FlutterLoadingGIFs) [![License](https://img.shields.io/badge/License-BSD%200--Clause-orange.svg)](https://opensource.org/licenses/0BSD)
4+
5+
<img src="packages/cupertino_activity_indicator_square_large.gif" width="128">
6+
7+
> ### High quality Android and iOS loading spinners.
8+
9+
[View Demo](https://gallery.imfast.io/flutterwebsites/loadinggifs/)
10+
11+
Loading GIFs is a collection of high fidelity loading animations in GIF format. Included are Android "Material Design" and iOS "Cupertino" default loading indicators.
12+
13+
## Usage
14+
15+
[![Pub release](https://img.shields.io/pub/v/loading_gifs.svg?style=flat-square)](https://pub.dev/packages/loading_gifs)
16+
17+
18+
19+
Import this library into your project:
20+
21+
```yaml
22+
loading_gifs: ^latest_version
23+
```
24+
25+
Use `cupertinoActivityIndicator` or `circularProgressIndicator` where ever a loading GIF is needed.
26+
```dart
27+
FadeInImage.assetNetwork(placeholder: cupertinoActivityIndicator, image: "image.png");
28+
```
29+
That's it!
30+
31+
## Usage Tips
32+
33+
![Loading GIFs Sizes](packages/Loading%20GIFs%20Sizes.gif)
34+
35+
The `loading_gifs` library is size optimized and only includes the base asset. Control the size of the loading spinners with `scale` and `placeholderScale`.
36+
37+
```dart
38+
FadeInImage.assetNetwork(placeholder: cupertinoActivityIndicator, image: "image.png", placeholderScale: 5);
39+
40+
Image.asset(circularProgressIndicator, scale: 10);
41+
```
42+
43+
## Assets
44+
45+
### iOS (Cupertino) Loading Indicators
46+
47+
|![iOS Loading Indicator Full](packages/cupertino_activity_indicator.gif)|![iOS Loading Indicator Optimized](packages/cupertino_activity_indicator_selective.gif)|
48+
|--|--|
49+
|[Full (159KB)](packages/cupertino_activity_indicator.gif)|[Optimized (78KB)](packages/cupertino_activity_indicator_selective.gif)|
50+
51+
|![iOS Loading Indicator Square Large](packages/cupertino_activity_indicator_square_large.gif)|![iOS Loading Indicator Square Medium](packages/cupertino_activity_indicator_square_medium.gif)|![iOS Loading Indicator Square Small](packages/cupertino_activity_indicator_square_small.gif)|
52+
|--|--|--|
53+
|[Large Square (36KB)](packages/cupertino_activity_indicator_square_large.gif)|[Medium Square (14KB)](packages/cupertino_activity_indicator_square_medium.gif)|[Small Square (7KB)](packages/cupertino_activity_indicator_square_small.gif)|
54+
55+
|![iOS Loading Indicator Large](packages/cupertino_activity_indicator_large.gif)|![iOS Loading Indicator Medium](packages/cupertino_activity_indicator_medium.gif)|![iOS Loading Indicator Small](packages/cupertino_activity_indicator_small.gif)|
56+
|--|--|--|
57+
|[Large (16KB)](packages/cupertino_activity_indicator_large.gif)|[Medium (16KB)](packages/cupertino_activity_indicator_medium.gif)|[Small (17KB)](packages/cupertino_activity_indicator_small.gif)|
58+
59+
### Android (Material) Loading Indicators
60+
61+
|![Material Loading Indicator Full](packages/circular_progress_indicator.gif)|![Material Loading Indicator Optimized](packages/circular_progress_indicator_selective.gif)|
62+
|--|--|
63+
|[Full (1.13MB)](packages/circular_progress_indicator.gif)|[Optimized (263KB)](packages/circular_progress_indicator_selective.gif)|
64+
65+
|![Material Loading Indicator Square Large](packages/circular_progress_indicator_square_large.gif)|![Material Loading Indicator Square Medium](packages/circular_progress_indicator_square_medium.gif)|![Material Loading Indicator Square Small](packages/circular_progress_indicator_square_small.gif)|
66+
|--|--|--|
67+
|[Large Square (225KB)](packages/circular_progress_indicator_square_large.gif)|[Medium Square (148KB)](packages/circular_progress_indicator_square_medium.gif)|[Small Square (100KB)](packages/circular_progress_indicator_square_small.gif)|
68+
69+
|![Material Loading Indicator Large](packages/circular_progress_indicator_large.gif)|![Material Loading Indicator Medium](packages/circular_progress_indicator_medium.gif)|![Material Loading Indicator Small](packages/circular_progress_indicator_small.gif)|
70+
|--|--|--|
71+
|[Large (129KB)](packages/circular_progress_indicator_large.gif)|[Medium (161KB)](packages/circular_progress_indicator_medium.gif)|[Small (211KB)](packages/circular_progress_indicator_small.gif)|
72+
73+
## About
74+
75+
Here at Codelessly, we're working on #NoCode and code generation automation tools to increase productivity. If you are interested in a website builder powered by computer vision or flow-based automation, drop us a line below 😎
76+
77+
Loading GIFs is licensed under Zero-Clause BSD and released as Emailware. If you like this project or it helped you, please subscribe to updates. Although it is not required, you might miss the goodies we share!
78+
79+
<a href="https://codelessly.com" target="_blank"><img src="packages/Email%20Newsletter%20Signup.png"></a>
80+
81+
## Contributors ❤️
82+
83+
**Design:**
84+
* [Ray Li](https://github.com/searchy2)
85+
86+
**Development:**
87+
* [Ray Li](https://github.com/searchy2)
88+
89+
**Sponsor:** [Codelessly - No Code Automation Tools](https://codelessly.com)
90+
91+
<a href="mailto:ray@codelessly.com">
92+
<img alt="Codelessly Email"
93+
src="https://lh3.googleusercontent.com/yN_m90WN_HSCohXdgC2k91uSTk9dnYfoxTYwG_mv_l5_05dV2CzkQ1B6rEqH4uqdgjA=w96" />
94+
</a>
95+
<a href="https://codelessly.com">
96+
<img alt="Codelessly Website"
97+
src="https://lh3.googleusercontent.com/YmMGcgeO7Km9-J9vFRByov5sb7OUKetnKs8pTi0JZMDj3GVJ61GMTcTlHB7u9uHDHag=w96" />
98+
</a>
99+
<a href="https://twitter.com/codelessly1">
100+
<img alt="Codelessly Twitter"
101+
src="https://lh3.ggpht.com/lSLM0xhCA1RZOwaQcjhlwmsvaIQYaP3c5qbDKCgLALhydrgExnaSKZdGa8S3YtRuVA=w96" />
102+
</a>
103+
<a href="https://github.com/Codelessly">
104+
<img alt="Codelessly GitHub"
105+
src="https://lh3.googleusercontent.com/L15QqmKK7Vl-Ag1ZxaBqNQlXVEw58JT2BDb-ef5t2eboDh0pPSLjDgi3-aQ3Opdhhyk=w96" />
106+
</a>
107+
<br></br>
108+
<a href="https://github.com/flutter/flutter">
109+
<img alt="Flutter"
110+
src="packages/Flutter%20Logo%20Banner.png" />
111+
</a>
112+
113+
114+
## License
115+
116+
BSD Zero Clause License
117+
118+
Copyright © 2020 Codelessly
119+
120+
Permission to use, copy, modify, and/or distribute this software for any
121+
purpose with or without fee is hereby granted.
122+
123+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
124+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
125+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
126+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
127+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
128+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
129+
PERFORMANCE OF THIS SOFTWARE.

packages/Email Newsletter Signup.png

42.1 KB
Loading

packages/Flutter Logo Banner.png

7.68 KB
Loading

packages/Loading GIFs Cover.gif

879 KB
Loading

packages/Loading GIFs Sizes.gif

666 KB
Loading

0 commit comments

Comments
 (0)