パッケージ、リポジトリ、アプリカテゴリを検索

cupertino_onboarding のカバー
パッケージ詳細v1.3.0

cupertino_onboarding

iOSスタイルのオンボーディング体験を提供するFlutterパッケージ。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
954
いいね数
195
Pub ポイント
150

パッケージをインストール

flutter pub add cupertino_onboarding

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

滑らかな遷移とネイティブに似たアニメーションを備えたiOSスタイルのオンボーディング体験を提供するFlutterパッケージです。Appleのオンボーディングインターフェースを模倣するように設計されており、アプリ機能を紹介するための洗練されたモダンなカルーセルを提供します。Android、iOS、Web、macOS、Windows、Linuxなど複数のプラットフォームをサポートしており、デバイス間で一貫したUXを確保します。pub addで簡単に統合でき、洗練されたプラットフォーム固有の見た目を目指すアプリに最適です。カスタマイズ可能なコンテンツとスワイプジェスチャーにより、ユーザーの関与が向上します。

用途

  • アプリオンボーディングチュートリアル
  • 機能紹介画面
  • ユーザーのオンボーディングフロー
  • モバイルファーストアプリのリリース
  • クロスプラットフォームのオンボーディング体験

主な機能

  • iOSスタイルデザイン
  • スムーズなスワイプアニメーション
  • マルチプラットフォーム対応
  • カスタマイズ可能なコンテンツ
  • pub を通じた簡単な統合
  • レスポンシブレイアウト

適している対象

  • iOSを意識したアプリデザイン
  • クロスプラットフォームモバイルアプリ
  • オンボーディングに焦点を当てたアプリケーション
  • ネイティブに近いUIを求める開発者
  • モダンな美学を標榜するアプリ

注意事項

  • iOSテーマを超えるカスタマイズは限定的
  • 非iOSブランド用に追加のスタイリングが必要になる場合があります
  • 外観のためにCupertinoウィジェットに依存しています
  • スワイプベースではないオンボーディングには適していません
  • シンプルで直線的なオンボーディングフローに最適

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

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.

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

このパッケージを使用しているプロジェクト