Pakete, Repositories und App-Kategorien suchen

Paketdetailsv4.0.0

flare_splash_screen

Hilfsmittel für eine Startbildschirm-Anzeige mit einer Flare-Animation, bis einige Arbeiten zur Initialisierung der App abgeschlossen sind

AndroidiOSWebmacOSWindowsLinux
30-Tage-Downloads
666
Likes
228
Pub-Punkte
140

Paket installieren

flutter pub add flare_splash_screen

Paketübersicht

Aus öffentlichen Paketdaten erstellte Orientierung.

Ein Flutter-Paket, das eine Startbildschirm-Anwendung mit einer Flare-Animation ermöglicht und den Bildschirm aktiv hält, bis die wesentlichen Initialisierungsaufgaben der App abgeschlossen sind. Es integriert sich nahtlos mit den animierten Vektorgrafiken von Flare, um reibungslose, leichte Animationen während des Startvorgangs bereitzustellen. Das Paket ist für Entwickler konzipiert, die Onboarding-Erlebnisse durch ansprechende Visualisierungen verbessern möchten, während sie die Bereitschaft der App bis zum Abschluss der Hintergrundarbeiten verschieben.

Anwendungsfälle

  • App-Onboarding mit animiertem Splash
  • Verzögerte Initialisierung mit visueller Rückmeldung
  • Branding mit interaktiven Animationen
  • Plattformübergreifende Splash-Bildschirme
  • Ladezustandsvisualisierung
  • Glatte Übergänge in die Haupt-App

Hauptmerkmale

  • Flare-Animationsunterstützung
  • Automatische Behandlung von Initialisierungsverzögerungen
  • Anpassbare Dauer und Rückruf
  • Plattformübergreifende Kompatibilität
  • Einfache Integration mit bestehenden Flutter-Apps
  • Konfigurierbare Animationsstart- und Endauslöser

Geeignet für

  • Entwickler, die Flare-Animationen verwenden
  • Apps, die brandnahe Startbildschirme erfordern
  • Projekte mit asynchroner Initialisierung
  • Teams, die Benutzererfahrung priorisieren
  • Flutter-Apps für mehrere Plattformen
  • designorientierte mobile und Web-Anwendungen

Hinweise

  • Benötigt Flare-Dateien (.json)
  • Beschränkt auf Flare-basierte Animationen
  • Kann die anfängliche Paketgröße erhöhen
  • Erfordert eine ordnungsgemäße Lebenszyklusverwaltung
  • Nicht geeignet für statische Startbildschirme
  • Abhängig von der Flare-Laufzeitbibliothek

Original-README

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

flare_splash_screen

pub package

Facilitator for having a Splash screen with a Flare animation until some work has been done for the initialization of the app

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

Usage

Navigation

The splash screen will show the animation and push the new route you gave once it's finish, by default it does a fade animation but you can customize it by using transitionsBuilder

SplashScreen.navigate(
    name: 'intro.flr',
    next: (_) => MyHomePage(title: 'Flutter Demo Home Page'),
    until: () => Future.delayed(Duration(seconds: 5)),
    startAnimation: '1',
),
Callback

The splash screen will show the animation and call the onFinished callback when it's finish.

SplashScreen.callback(
    name: 'intro.flr',    
    onFinished: () {
      Navigator.of(context).pushReplacement(PageRouteBuilder(pageBuilder: (_,__,___) => MyHomePage(title: 'Flutter Demo Home Page')));
    },
    loopAnimation: '1',
    until: () => Future.delayed(Duration(seconds: 1)),
    endAnimation: '1',
),
API

name : path/name of the flare animation

next : screen to show once animation is finished as widget builder

loopAnimation: animation name to run, default same as first param

startAnimation: animation name to run once before going into loop

endAnimation: animation name to run once until is complete

until: callback that return a future to process your initialization

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

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

transitionsBuilder transition to apply when showing next

Available animation 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

Noch keine Daten verfügbar.