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

パッケージ詳細v1.0.1

steps

Android および iOS で垂直/水平のステップを表示し、他の Flutter ウィジェットと併用するための Flutter プラグイン。

30日間ダウンロード
53
いいね数
29
Pub ポイント
30

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

flutter pub add steps

パッケージ概要

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

steps パッケージは、フォームやオンボーディングフローなどの複数ステップのプロセスをユーザーに案内するための垂直または水平のステップインジケーターを表示するために設計されたFlutterプラグインです。任意のFlutterウィジェットとの統合をサポートしており、各ステップにカスタムコンテンツを含めることができます。AndroidおよびiOSと互換性があり、進行状況を視覚的に表現するための洗練されたカスタマイズ可能なインターフェースを提供します。軽量で実装が簡単なため、直感的なナビゲーションのヒントが必要なアプリに適しています。

用途

  • オンボーディングフロー
  • マルチステップフォーム
  • プロセスの追跡
  • ユーザー・ジャーニーの可視化
  • チェックアウトシーケンス

主な機能

  • 垂直および水平ステップレイアウト
  • カスタムウィジェットのサポート
  • クロスプラットフォーム互換性(Android & iOS)
  • シンプルなAPI統合
  • 進行状況の表示

適している対象

  • ステップインジケーターが必要なアプリ開発者
  • 柔軟なプログレスUIを希望するデザイナー
  • 複数段階のユーザーインタラクションを備えたプロジェクト

注意事項

  • 組み込みのアニメーションなし
  • 基本的なスタイリングを超えるカスタマイズが限られている
  • ステップの状態管理を手動で処理する必要があります

元の README

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

Steps package for Flutter

pub package

Flutter plugin for displaying vertical/horizontal steps with other Flutter widgets on Android and iOS.

vertical with rich content

horizontal with rich content

Note: This package is still under development. Feedback welcome and Pull Requests are most welcome!

Installation

First, add steps as a dependency in your pubspec.yaml file.

Example
import 'package:flutter/material.dart';
import 'package:steps/steps.dart';

void main() => runApp(MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Home(title: 'Steps'),
    ));

class Home extends StatelessWidget {
  final String title;
  Home({Key key, this.title}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: Text(title),
        ),
        body: Container(
          alignment: Alignment.topCenter,
          child: Steps(
            direction: Axis.vertical,
            size: 20.0,
            path: {'color': Colors.lightBlue.shade200, 'width': 3.0},
            steps: [
              {
                'color': Colors.white,
                'background': Colors.lightBlue.shade200,
                'label': '1',
                'content': Column(
                  crossAxisAlignment: CrossAxisAlignment.start,
                  children: <Widget>[
                    Text(
                      'Laborum exercitation',
                      style: TextStyle(fontSize: 22.0),
                    ),
                    Text(
                      'Qui et consectetur esse duis excepteur magna consectetur.',
                      style: TextStyle(fontSize: 12.0),
                    ),
                  ],
                ),
              },
              {
                'color': Colors.white,
                'background': Colors.lightBlue.shade700,
                'label': '2',
                'content': Column(
                  crossAxisAlignment: CrossAxisAlignment.start,
                  children: <Widget>[
                    Text(
                      'Laborum exercitation est veniam',
                      style: TextStyle(fontSize: 22.0),
                    ),
                    Image.asset(
                      'assets/cat.jpg',
                      width: 250,
                      height: 120,
                      fit: BoxFit.cover,
                      alignment: Alignment.center,
                    ),
                    Text(
                      '''
Occaecat qui do mollit
Adipisicing reprehenderit deserunt mollit
Quis officia adipisicing aute
                      ''',
                      style: TextStyle(fontSize: 12.0),
                    )
                  ],
                )
              },
              {
                'color': Colors.white,
                'background': Colors.lightBlue.shade200,
                'label': '3',
                'content': Image.asset(
                  'assets/art.jpg',
                  width: 250,
                  height: 120,
                  fit: BoxFit.cover,
                  alignment: Alignment.center,
                ),
              }
            ],
          ),
        ));
  }
}

カテゴリー

ソースリポジトリ

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

データはまだありません。