Pakete, Repositories und App-Kategorien suchen

Cover von cupertino_onboarding
Paketdetailsv1.3.0

cupertino_onboarding

Flutter-Paket, das eine iOS-artige Onboarding-Erfahrung bietet.

AndroidiOSWebmacOSWindowsLinux
30-Tage-Downloads
954
Likes
195
Pub-Punkte
150

Paket installieren

flutter pub add cupertino_onboarding

Paketübersicht

Aus öffentlichen Paketdaten erstellte Orientierung.

Ein Flutter-Paket, das eine iOS-ähnliche Onboarding-Erfahrung mit fließenden Übergängen und nativen Animationen bietet. Speziell entwickelt, um die Onboarding-Oberfläche von Apple nachzuahmen, bietet es einen sauberen, modernen Karussell für die Einführung in App-Funktionen. Das Paket unterstützt mehrere Plattformen wie Android, iOS, Web, macOS, Windows und Linux und sorgt so für eine konsistente Benutzererfahrung über Geräte hinweg. Es lässt sich einfach über pub add integrieren und ist ideal für Apps, die ein poliertes, plattformspezifisches Aussehen anstreben. Anpassbare Inhalte und Swip-Gesten steigern die Benutzerengagement.

Anwendungsfälle

  • App-Onboarding-Tutorials
  • Bildschirme zur Funktionsvorstellung
  • Benutzer-Onboarding-Flows
  • Mobile-first-App-Start
  • Plattformübergreifende Onboarding-Erfahrungen

Hauptmerkmale

  • iOS-Stil-Design
  • Glatte Swip-Animationen
  • Multiplattform-Unterstützung
  • Anpassbarer Inhalt
  • Einfache Integration über pub
  • Reaktives Layout

Geeignet für

  • iOS-inspirierte App-Designs
  • Plattformübergreifende Mobile Apps
  • Onboarding-fokussierte Anwendungen
  • Entwickler, die native Benutzeroberflächen suchen
  • Apps mit Fokus auf ein modernes Ästhetik

Hinweise

  • Eingeschränkte Anpassungsmöglichkeiten jenseits des iOS-Themas
  • Kann zusätzliche Stilisierung für nicht-iOS-Branding erfordern
  • Abhängig von Cupertino-Widgets für das Erscheinungsbild
  • Nicht geeignet für nicht-swipe-basiertes Onboarding
  • Am besten geeignet für einfache, lineare Onboarding-Flows

Original-README

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

cupertino_onboarding

style: very good analysis pub.dev badge GitHub build status codecov License: MIT

Flutter package that provides a beautiful, iOS-like, easy onboarding experience with minimal code.

It's designed to easily showcase your app's features and provide a simple way for users to learn about your app.

onboarding example calendar example translator example

Getting Started

Add the package to your pubspec.yaml file:

cupertino_onboarding: ^1.2.0

Import the library:

import 'package:cupertino_onboarding/cupertino_onboarding.dart';

Create CupertinoOnboarding widget and pass your pages as parameter:

@override
Widget build(BuildContext context) {
  return CupertinoOnboarding(
    onPressedOnLastPage: () => Navigator.pop(context),
    pages: [
      // To create What's New page like Calendar or Translator
      // examples in the readme, use `WhatsNewPage` widget:

      // Actual code from the Calendar example:
      WhatsNewPage(
        title: const Text("What's New in Calendar"),
        features: [
          // Feature's type must be `WhatsNewFeature`
          WhatsNewFeature(
            icon: Icon(
              CupertinoIcons.mail,
              color: CupertinoColors.systemRed.resolveFrom(context),
            ),
            title: const Text('Found Events'),
            description: const Text(
              'Siri suggests events found in Mail, Messages, and Safari, so you can add them easily, such as flight reservations and hotel bookings.',
            ),
          ),
          WhatsNewFeature(
            icon: Icon(
              CupertinoIcons.time,
              color: CupertinoColors.systemRed.resolveFrom(context),
            ),
            title: const Text('Time to Leave'),
            description: const Text(
              "Calendar uses Apple Maps to look up locations, traffic conditions, and transit options to tell you when it's time to leave.",
            ),
          ),
        ],
      ),

      // To create custom onboarding page, use
      // `CupertinoOnboardingPage` widget:

      // Actual code from the GIF example:
      const CupertinoOnboardingPage(
        title: Text('Support For Multiple Pages'),
        body: Icon(
          CupertinoIcons.square_stack_3d_down_right,
          size: 200,
        ),
      ),
      const CupertinoOnboardingPage(
        title: Text('Great Look in Light and Dark Mode'),
        body: Icon(
          CupertinoIcons.sun_max,
          size: 200,
        ),
      ),
    ],
  );
}

CupertinoOnboarding can be shown as any other widget, but to match native feel, consider using modal_bottom_sheet package or other modal view.

See API reference for more information about customizing look and feel of the onboarding.

Features, bugs and contributions

Feel free to contribute to this project.

Please file feature requests and bugs at the issue tracker.
If you fixed a bug or implemented a feature by yourself, feel free to send a pull request.

Sponsoring

I am working on my packages in my free time.

If this package is helping you, please consider buying me a coffee, so I can keep updating and maintaining this package.

Kategorien

Abhängigkeiten

Abhängigkeiten 1 Einträge

Quell-Repository

Projekte, die dieses Paket verwenden