Pakete, Repositories und App-Kategorien suchen

Paketdetailsv3.0.0

flare_loading

Lade-Widget basierend auf einer benutzerdefinierten Flare-Animation, mit dem Sie schöne benutzerdefinierte Lade-Widgets oder Dialogfelder erstellen können

AndroidiOSWebmacOSWindowsLinux
30-Tage-Downloads
784
Likes
36
Pub-Punkte
130

Paket installieren

flutter pub add flare_loading

Paketübersicht

Aus öffentlichen Paketdaten erstellte Orientierung.

Ein Flutter-Paket, das ein anpassbares Lade-Widget bereitstellt, das von einer Flare-Animation angetrieben wird. Es ermöglicht Entwicklern, visuell ansprechende Ladeindikatoren oder Dialoge mit fließenden, animierten Grafiken zu erstellen. Für die Integration über mehrere Plattformen entwickelt, nutzt es die Flexibilität von Flare-Animationen, um ansprechende Benutzererfahrungen ohne komplexes eigenes Codieren zu liefern. Ideal für Apps, die während asynchroner Operationen eine glänzende, animierte Rückmeldung benötigen.

Anwendungsfälle

  • Benutzerdefinierte Ladeindikatoren
  • Onboarding-Bildschirme
  • Asynchrone Operationsrückmeldung
  • App-Startbildschirme
  • Lade-Dialogetexte
  • Interaktive Benutzeroberflächenelemente

Hauptmerkmale

  • Flare-basierte Animationen
  • Plattformübergreifende Unterstützung
  • Einfache Anpassung
  • Glatte Leistung
  • wiederverwendbare Komponenten
  • Leichte Integration

Geeignet für

  • Designorientierte Apps
  • Mobile- und Webanwendungen
  • UI/UX-Verbesserungsprojekte
  • Apps, die animierte Rückmeldung benötigen
  • Entwickler, die Flare-Animationen verwenden

Hinweise

  • Benötigt Flare-Animationsdateien
  • Beschränkt auf Flare-kompatible Workflows
  • Kann die App-Größe erhöhen
  • Erforderliche Asset-Verwaltung
  • Nicht geeignet für einfache Spinner
  • Abhängig von der Flare-Laufzeit

Original-README

Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.

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

Kategorien

Abhängigkeiten

Abhängigkeiten 1 Einträge

Quell-Repository

Projekte, die dieses Paket verwenden