Search packages, repositories and app categories

Package detailsv3.0.0

flare_loading

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

AndroidiOSWebmacOSWindowsLinux
30-day downloads
784
Likes
36
Pub points
130

Install package

flutter pub add flare_loading

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter package that provides a customizable loading widget powered by a Flare animation. It enables developers to create visually appealing loading indicators or dialogs with smooth, animated graphics. Built for integration across multiple platforms, it leverages the flexibility of Flare animations to deliver engaging user experiences without complex custom coding. Ideal for apps seeking polished, animated feedback during asynchronous operations.

Use cases

  • Custom loading indicators
  • Onboarding screens
  • Async operation feedback
  • App splash screens
  • Loading dialogs
  • Interactive UI elements

Key features

  • Flare-based animations
  • Cross-platform support
  • Easy customization
  • Smooth performance
  • Reusable components
  • Lightweight integration

Suitable for

  • Design-focused apps
  • Mobile and web applications
  • UI/UX enhancement projects
  • Apps needing animated feedback
  • Developers using Flare animations

Considerations

  • Requires Flare animation files
  • Limited to Flare-compatible workflows
  • May increase app size
  • Needs proper asset management
  • Not suitable for simple spinners
  • Dependent on Flare runtime

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

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

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package