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

concentric_transition のカバー
パッケージ詳細v1.0.3

concentric_transition

同心円トランジション効果。オンボーディングやページ遷移などに役立ちます。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
1340
いいね数
827
Pub ポイント
160

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

flutter pub add concentric_transition

パッケージ概要

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

Concentric Transition は、画面または要素間のスムーズな同心アニメーション効果を可能にする Flutter パッケージです。オンボーディングフローおよびページ変更に最適で、円形パターンでレイヤーを拡張または収縮することで、視覚的に魅力的な体験を生み出します。Android、iOS、Web、macOS、Windows、Linux など複数のプラットフォームをサポートしており、クロスプラットフォームアプリに非常に柔軟に対応できます。pub add コマンドによる最小限のセットアップで、開発者はUIに洗練された遷移アニメーションを簡単に統合できます。

用途

  • オンボーディング画面
  • ページ遷移
  • スプラッシュ画面エフェクト
  • インタラクティブなUI要素
  • アニメーションナビゲーション
  • ビジュアルストーリーテリング

主な機能

  • 円形同心アニメーション
  • クロスプラットフォーム対応
  • シンプルな統合
  • カスタマイズ可能なタイミング
  • スムーズなパフォーマンス
  • 再利用可能な遷移ウィジェット

適している対象

  • アプリオンボーディングフロー
  • インタラクティブUIデザイン
  • アニメーションスプラッシュ画面
  • モバイルおよびウェブアプリケーション
  • デザイン重視のFlutterプロジェクト
  • 視覚的な洗練を求める開発者

注意事項

  • 低スペックデバイスでのパフォーマンスに影響を与える可能性があります
  • 正確なタイミングの調整が必要です
  • 円形の遷移パターンに制限される
  • 複雑な状態遷移には適していない
  • シンプルで集中したアニメーションに最適
  • すべてのターゲットプラットフォームでテストが必要です

元の README

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

➰ Concentric Transition

A Flutter plugin to create views using Concentric Transition Clipper. Useful for onboarding, page transitions, custom clippers, painters etc.

Inspired by Cuberto - Animated Onboarding Screens

Build Status Pub package Star on GitHub License: MIT

1.gif 2.gif 3.gif 4.gif 5.gif 6.gif

Getting Started

  • Add this to your pubspec.yaml
    dependencies:
    concentric_transition: ^1.0.3
    
  • Get the package from Pub:
    flutter packages get
    
  • Import it in your file
    import 'package:concentric_transition/concentric_transition.dart';
    

Features

  • 📺 Concentric PageView
  • 🕳️ Concentric Clipper
  • 📙 Concentric PageRoute

Usage

  • Using ConcentricPageView widget
import 'package:concentric_transition/concentric_transition.dart';

ConcentricPageView(
   colors: <Color>[Colors.white, Colors.blue, Colors.red],
   itemCount: 1, // null = infinity
   physics: NeverScrollableScrollPhysics(),
   itemBuilder: (int index, double value) {
       return Center(
           child: Container(
               child: Text('Page $index'),
           ),
       );
   },
);
  • Using ConcentricPageRoute widget
Navigator.push(context, ConcentricPageRoute(builder: (ctx) {
  return NextPage();
}));
  • Using ConcentricClipper widget
import 'package:concentric_transition/concentric_transition.dart';

ClipPath(
  clipper: ConcentricClipper(
    progress: 0.1, // from 0.0 to 1.0
    reverse: false,
    radius: 30.0,
    verticalPosition: 0.82,
  ),
  child: Container(
    color: Colors.green,
  ),
)

Credits

Maintainers

License

License: MIT

カテゴリー

ソースリポジトリ

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