Pakete, Repositories und App-Kategorien suchen

Cover von loading_animations
Paketdetailsv2.2.0

loading_animations

Ein Flutter-Paket mit einer Auswahl an einfachen, aber sehr anpassbaren Ladeanimationen.

AndroidiOSWebmacOSWindowsLinux
30-Tage-Downloads
6730
Likes
272
Pub-Punkte
160

Paket installieren

flutter pub add loading_animations

Paketübersicht

Aus öffentlichen Paketdaten erstellte Orientierung.

Ein Flutter-Paket mit einer Sammlung einfacher, hochgradig anpassbarer Ladeanimationen für den Einsatz in Apps. Entwickelt, um die Benutzererfahrung während Wartezeiten zu verbessern, bietet es reibungslose und visuell ansprechende Indikatoren, die problemlos in verschiedene UI-Komponenten integriert werden können. Die Animationen sind leichtgewichtig und unterstützen mehrere Plattformen, wodurch eine konsistente Leistung auf Android, iOS, Web, macOS, Windows und Linux gewährleistet ist. Anpassungsmöglichkeiten umfassen Farbe, Größe, Geschwindigkeit und Animationsstil, was sie an unterschiedliche Gestaltungsanforderungen anpasst.

Anwendungsfälle

  • Ladeindikatoren in Formularen
  • Startbildschirme
  • Datenabrufzustände
  • Seitenübergänge
  • Hintergrundaufgabenfortschritt
  • Benutzerdefinierte Spinner-Designs

Hauptmerkmale

  • hochgradig anpassbare Animationen
  • Unterstützt alle wichtigen Plattformen
  • Leichtgewichtig und leistungsstark
  • Einfache Integration mit Flutter-Widgets
  • Mehrere Animationsstile
  • Konfigurierbare Farben und Geschwindigkeiten

Geeignet für

  • Entwickler, die schnelle Ladeindikatoren suchen
  • Apps, die konsistente UI-Rückmeldungen erfordern
  • Designer, die flexible Animationsmöglichkeiten wünschen
  • Projekte für mehrere Plattformen
  • Prototyping und schnelle Entwicklung

Hinweise

  • Beschränkt auf grundlegende Animationsarten
  • Kann zusätzliche Stilisierung für komplexe Benutzeroberflächen erfordern
  • Nicht für sehr hohe Aktualisierungshäufigkeiten optimiert
  • Am besten geeignet für einfache Ladeszenarien
  • Keine integrierten Lokalisierungs- oder Barrierefreiheitsfunktionen

Original-README

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

Flutter Loading Animations Pub

A simple yet very customizable set of loading animations for Flutter projects.

Installation

Add the following to your pubspec.yaml file:

...
dependencies:
  ...
  loading_animations: "^2.1.0"
...

Then import the file to your project:

import 'package:loading_animations/loading_animations.dart';

How to use

Choose a loading animation from the list:

Flipping
  • LoadingFlipping.circle()
  • LoadingFlipping.square()
Rotating
  • LoadingRotating.square()
Double Flipping
  • LoadingDoubleFlipping.circle()
  • LoadingDoubleFlipping.square()
Bouncing Grid
  • LoadingBouncingGrid.circle()
  • LoadingBouncingGrid.square()
Filling
  • LoadingFilling.square()
Fading Line
  • LoadingFadingLine.circle()
  • LoadingFadingLine.square()
Bouncing Line
  • LoadingBouncingLine.circle()
  • LoadingBouncingLine.square()
Jumping Line
  • LoadingJumpingLine.circle()
  • LoadingJumpingLine.square()
Bumping Line
  • LoadingBumpingLine.circle()
  • LoadingBumpingLine.square()

Then add the following code:

LoadingFlipping.circle(
  color: Colors.blue,
);

Or you can customize it a bit:

LoadingFlipping.square(
  borderColor: Colors.cyan,
  size: 30.0,
);

Or customize it even more!

LoadingFlipping.circle(
  borderColor: Colors.cyan,
  borderSize: 3.0,
  size: 30.0,
  backgroundColor: Colors.cyanAccent,
  duration: Duration(milliseconds: 500),
);

For more customization, please look inside the loading animation files.

Note: all the animations come ready to go just by calling LoadingDoubleFlipping.square(), for example.

Many basic animations contain .circle() and .square() variations by default.

Examples

Note: the following gifs are not yet updated to reflect version 2.1.0

For a more true experience of the animations and its variations, download the example project and run using flutter run --profile.

LoadingFlipCircle() LoadingRotatingSquare()
LoadingFlipBox() LoadingBouncingGrid()

Contribution

Please feel free to:

  • ask questions
  • report issues and bugs
  • suggest code improvements
  • request new features

Create an issue or a pull request and I will be more than happy to review it and add to the project.

Thanks

This project was heavily based on cssfx

If you like this package, don't forget to hit the ⭐️ button!

Thanks and happy coding 👻

Kategorien

Quell-Repository

Projekte, die dieses Paket verwenden