v0.3.0loading_gifs
로딩 인디케이터 GIF. 다양한 크기의 Material 및 Cupertino(안드로이드 및 iOS) 로딩 인디케이터. 원격 이미지 자산을 로드하는 데 사용할 자리 표시자로 사용하세요.
로딩 인디케이터 GIF. 다양한 크기의 매테리얼 및 쿠퍼티노(안드로이드 및 iOS) 로딩 인디케이터. 원격 이미지 자산을 위한 플레이스홀더로 사용하세요. 데모: https://gallery.codelessly.com/flutterwebsites/loadinggifs/
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
High quality Android and iOS loading spinners.
Loading GIFs is a collection of high fidelity loading animations in GIF format. Included are Android "Material Design" and iOS "Cupertino" default loading indicators.
Import this library into your project:
loading_gifs: ^latest_version
Use cupertinoActivityIndicator or circularProgressIndicator where ever a loading image is needed.
FadeInImage.assetNetwork(placeholder: cupertinoActivityIndicator, image: "image.png");
That's it!
This library is optimized for size so it only includes the base asset sizes. Change the size of the loading spinners using scale and placeholderScale.
FadeInImage.assetNetwork(placeholder: cupertinoActivityIndicator, image: "image.png", placeholderScale: 5);
Image.asset(circularProgressIndicator, scale: 10);
When loading images whose dimensions are unknown ahead of time, use cupertinoActivityIndicatorSmall instead of cupertinoActivityIndicator. cupertinoActivityIndicatorSmall is a min height variant of cupertinoActivityIndicator which allows Flutter to correctly expand the loaded image into the layout.
The small variant should be used when loading a list of images or compositing an image from multiple images.
ListView(
children: <Widget>[
FadeInImage.assetNetwork(
placeholder: cupertinoActivityIndicatorSmall,
image: "image_1.png"),
FadeInImage.assetNetwork(
placeholder: cupertinoActivityIndicatorSmall,
image: "image_2.png"),
FadeInImage.assetNetwork(
placeholder: cupertinoActivityIndicatorSmall,
image: "image_3.png"),
],
)
FadeInImage requires a valid placeholder image to avoid "Asset not found" errors. Use placeholderEmpty, a 1x1 pixel transparent PNG, when an empty placeholder is needed.
FadeInImage.assetNetwork(placeholder: placeholderEmpty, image: "image.png");
![]() |
![]() |
|---|---|
| Full (159KB) | Optimized (78KB) |
![]() |
![]() |
![]() |
|---|---|---|
| Large Square (36KB) | Medium Square (14KB) | Small Square (7KB) |
![]() |
![]() |
![]() |
|---|---|---|
| Large (16KB) | Medium (16KB) | Small (16KB) |
![]() |
![]() |
|---|---|
| Full (1.13MB) | Optimized (263KB) |
![]() |
![]() |
![]() |
|---|---|---|
| Large Square (225KB) | Medium Square (148KB) | Small Square (100KB) |
![]() |
![]() |
![]() |
|---|---|---|
| Large (129KB) | Medium (149KB) | Small (186KB) |
Here at Codelessly, we're building a Flutter app UI and website builder, development tools, and UI templates to increase productivity. If that sounds interesting, you'll want to subscribe to updates below 😎
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!
Design:
Development:
Sponsor: Codelessly - Flutter App UI and Website Builder
BSD Zero Clause License
Copyright © 2020 Codelessly
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
의존성 목록 2 개
{"sdk":"flutter"}{"sdk":"flutter"}사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗