|
1 |
| -# FlutterLoadingGIFs |
2 |
| -Loading indicator GIFs. Cupertino and Material style loading indicators in various sizes. Placeholder for loading remote image assets. |
| 1 | + |
| 2 | +# [Loading GIFs](https://gallery.imfast.io/flutterwebsites/loadinggifs/) |
| 3 | +[](https://github.com/Codelessly/FlutterLoadingGIFs/releases) [](https://github.com/Codelessly/FlutterLoadingGIFs/releases) [](https://github.com/Codelessly/FlutterLoadingGIFs/issues) [](https://github.com/Codelessly/FlutterLoadingGIFs) [](https://github.com/Codelessly/FlutterLoadingGIFs) [](https://libraries.io/github/Codelessly/FlutterLoadingGIFs) [](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 | +[](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 | + |
| 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 | +||| |
| 48 | +|--|--| |
| 49 | +|[Full (159KB)](packages/cupertino_activity_indicator.gif)|[Optimized (78KB)](packages/cupertino_activity_indicator_selective.gif)| |
| 50 | + |
| 51 | +|||| |
| 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 | +|||| |
| 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 | +||| |
| 62 | +|--|--| |
| 63 | +|[Full (1.13MB)](packages/circular_progress_indicator.gif)|[Optimized (263KB)](packages/circular_progress_indicator_selective.gif)| |
| 64 | + |
| 65 | +|||| |
| 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 | +|||| |
| 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. |
0 commit comments