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

패키지 상세v3.0.0

flare_loading

사용자 정의 Flare 애니메이션을 기반으로 한 로딩 위젯으로, 아름다운 사용자 정의 로딩 위젯 또는 대화 상자를 만들 수 있습니다

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
784
좋아요
36
Pub 점수
130

패키지 설치

flutter pub add flare_loading

패키지 개요

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

Flare 애니메이션으로 구동되는 사용자 정의 가능한 로딩 위젯을 제공하는 플러터 패키지입니다. 개발자가 부드럽고 애니메이션된 그래픽을 갖춘 시각적으로 매력적인 로딩 표시기나 대화 상자를 만들 수 있게 해줍니다. 여러 플랫폼 간 통합을 위해 설계되었으며, Flare 애니메이션의 유연성을 활용하여 복잡한 커스텀 코드 없이도 몰입감 있는 사용자 경험을 제공합니다. 비동기 작업 중에 완성도 높은 애니메이션 피드백이 필요한 앱에 적합합니다.

사용 사례

  • 사용자 정의 로딩 표시기
  • 온보딩 화면
  • 비동기 작업 피드백
  • 앱 스플래시 화면
  • 로딩 다이얼로그
  • 인터랙티브 UI 요소

주요 기능

  • Flare 기반 애니메이션
  • 크로스 플랫폼 지원
  • 간편한 사용자 정의
  • 부드러운 성능
  • 재사용 가능한 컴포넌트
  • 경량 통합

적합한 대상

  • 디자인 중심 앱
  • 모바일 및 웹 애플리케이션
  • UI/UX 개선 프로젝트
  • 애니메이션 피드백이 필요한 앱
  • Flare 애니메이션을 사용하는 개발자

고려 사항

  • Flare 애니메이션 파일이 필요합니다
  • Flare 호환 워크플로우에 한정
  • 앱 크기를 증가시킬 수 있습니다
  • 적절한 자산 관리가 필요합니다
  • 간단한 스피너에 적합하지 않습니다
  • Flare 런타임에 의존

원본 README

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

flare_loading

pub package

Loading widget based on a Flare animation, allow you to create custom loading widgets or dialogs

If you're using Rive instead of Flare please use rive_loading

Usage

FlareLoading(
  name: 'animation.flr', 
  startAnimation: 'intro',
  loopAnimation: 'circle',
  endAnimation: 'end',
);

name: path and name of the flare animation

until: callback that return a future to process your initialization

isLoading: alternative to until if you want to manage loading state with a boolean

loopAnimation: animation name to run in loop

endAnimation: animation name to run once until is complete or isLoading false

startAnimation: animation name to run once as start

height: force the height of the flare animation, by default it take the all place available

width: force the width of the flare animation, by default it take the all place available

alignment: alignment of the flare animation, center by default

onSuccess callback called when the animation is finished and isLoading is false or until is complete

onError callback called until has failed

Available mode

Only one animation

Basically you have one animation to show and then just need to stay at last frame. In order to do that only specify the startAnimation

Start and loop animation

Your animation have an intro and a loop state, in order to do that only specify the startAnimation and loopAnimation

End and loop animation

Your animation have a finish and a loop state, in order to do that only specify the endAnimation and loopAnimation

Start and end animation

Your animation have an intro and a finish that should stay on the last frame, in order to do that only startAnimation and endAnimation

Start, end and loop animation

Your animation have an intro, a finish and a loop state, in order to do that specify the startAnimation, endAnimation and loopAnimation

카테고리

의존성

의존성 목록 1 개

소스 저장소

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