패키지, 저장소 및 앱 카테고리 검색

loading_gifs 표지
패키지 상세v0.3.0

loading_gifs

로딩 인디케이터 GIF. 다양한 크기의 Material 및 Cupertino(안드로이드 및 iOS) 로딩 인디케이터. 원격 이미지 자산을 로드하는 데 사용할 자리 표시자로 사용하세요.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
686
좋아요
84
Pub 점수
150

패키지 설치

flutter pub add loading_gifs

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

Material 및 Cupertino 디자인을 위한 로딩 인디케이터 GIF를 제공하는 플러터 패키지로, 안드로이드와 iOS에 최적화되어 있습니다. 원격 이미지 자산을 로드하는 동안 자리 표시자로 사용할 수 있는 다양한 크기를 제공합니다. 웹, macOS, Windows, Linux 등 여러 플랫폼을 지원하여 장치 간 일관된 시각 피드백을 보장합니다. 비동기 작업(예: 이미지 가져오기) 중 사용자 경험을 향상시키는 데 이상적입니다.

사용 사례

  • 원격 이미지의 로딩 자리표시자
  • 데이터 가져오기 중 UI 개선
  • 크로스 플랫폼 로딩 인디케이터
  • 인식된 성능 향상
  • 비동기 작업에서의 시각적 피드백

주요 기능

  • Material 및 Cupertino 테마 지원
  • 다양한 크기 옵션
  • 사전 구축된 애니메이션 GIF
  • 크로스 플랫폼 호환성
  • flutter pub와의 간편한 통합
  • 경량이며 빠른 로딩

적합한 대상

  • 크로스 플랫폼 앱을 개발하는 개발자
  • 일관된 로딩 상태를 원하는 UI/UX 디자이너
  • 원격 이미지 로드 인디케이터가 필요한 앱
  • 원활한 사용자 경험을 중시하는 프로젝트
  • 모바일 및 웹용으로 플러터를 사용하는 팀

고려 사항

  • GIF는 앱 번들 크기를 증가시킬 수 있습니다
  • 저사양 기기에서의 성능 영향
  • 애니메이션 사용자 정의 제한
  • 동적 자산 로드를 위해 인터넷이 필요합니다
  • 고주파 애니메이션에 적합하지 않습니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

Loading GIFs Cover

Loading GIFs

Pub release GitHub Release Date GitHub issues GitHub top language GitHub code size in bytes Libraries.io for GitHub License

High quality Android and iOS loading spinners.

View Demo

Loading GIFs is a collection of high fidelity loading animations in GIF format. Included are Android "Material Design" and iOS "Cupertino" default loading indicators.

Usage

Pub release

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!

Usage Tips

Loading GIFs Sizes

Size

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);
Dynamic Images

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"),
    ],
  )
Empty Placeholder

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");

Assets

iOS (Cupertino) Loading Indicators
iOS Loading Indicator Full iOS Loading Indicator Optimized
Full (159KB) Optimized (78KB)
iOS Loading Indicator Square Large iOS Loading Indicator Square Medium iOS Loading Indicator Square Small
Large Square (36KB) Medium Square (14KB) Small Square (7KB)
iOS Loading Indicator Large iOS Loading Indicator Medium iOS Loading Indicator Small
Large (16KB) Medium (16KB) Small (16KB)
Android (Material) Loading Indicators
Material Loading Indicator Full Material Loading Indicator Optimized
Full (1.13MB) Optimized (263KB)
Material Loading Indicator Square Large Material Loading Indicator Square Medium Material Loading Indicator Square Small
Large Square (225KB) Medium Square (148KB) Small Square (100KB)
Material Loading Indicator Large Material Loading Indicator Medium Material Loading Indicator Small
Large (129KB) Medium (149KB) Small (186KB)

About

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!

Codelessly Newsletter Signup

Contributors ❤️

Design:

Development:

Sponsor: Codelessly - Flutter App UI and Website Builder

Codelessly Email Codelessly Website Codelessly Twitter Codelessly GitHub

Flutter Logo Banner

License

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.

카테고리

소스 저장소

이 패키지를 사용하는 프로젝트