Buscar pacotes, repositórios e categorias de apps

Detalhes do pacotev3.0.0

flare_loading

Widget de carregamento baseado em uma animação personalizada do Flare, permitindo criar widgets ou diálogos de carregamento personalizados e bonitos

AndroidiOSWebmacOSWindowsLinux
Downloads em 30 dias
784
Curtidas
36
Pontos Pub
130

Instalar pacote

flutter pub add flare_loading

Visão geral do pacote

Orientação gerada a partir de informações públicas. Apenas para referência.

Um pacote Flutter que fornece um widget de carregamento personalizável alimentado por uma animação Flare. Permite aos desenvolvedores criar indicadores de carregamento ou diálogos visualmente atraentes com gráficos animados suaves. Construído para integração em múltiplas plataformas, aproveita a flexibilidade das animações Flare para oferecer experiências envolventes ao usuário sem codificação personalizada complexa. Ideal para aplicativos que buscam feedback animado e refinado durante operações assíncronas.

Casos de uso

  • indicadores de carregamento personalizados
  • Telas de onboarding
  • Feedback de operação assíncrona
  • Telas de inicialização do app
  • Diálogos de carregamento
  • Elementos de interface interativos

Principais recursos

  • animações baseadas no Flare
  • Suporte multiplataforma
  • Personalização fácil
  • Desempenho suave
  • componentes reutilizáveis
  • Integração leve

Indicado para

  • Aplicativos focados no design
  • Aplicações móveis e web
  • Projetos de melhoria de UI/UX
  • Aplicativos que precisam de feedback animado
  • Desenvolvedores usando animações Flare

Considerações

  • Requer arquivos de animação Flare
  • Limitado a fluxos de trabalho compatíveis com Flare
  • Pode aumentar o tamanho do aplicativo
  • Necessita de gerenciamento adequado de ativos
  • Não adequado para rotores simples
  • Dependente do tempo de execução do Flare

README original

Snapshot do README original do repositório-fonte vinculado. Consulte o repositório para o conteúdo mais recente.

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

Categorias

Dependências

Lista de dependências 1 itens

Repositório-fonte

Projetos que usam este pacote