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

パッケージ詳細v0.0.2

animation_kit

アプリのユーザーエクスペリエンスを向上させるためのアニメーションとユーティリティのコレクションを提供するFlutterパッケージです。

AndroidiOSLinuxmacOSWebWindows
30日間ダウンロード
3.7万
いいね数
3
Pub ポイント
150

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

flutter pub add animation_kit

パッケージ概要

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

Animation Kit は、モバイルおよびウェブアプリケーションにおけるユーザー体験を向上させるために、厳選されたアニメーションとユーティリティを提供するFlutterパッケージです。使いやすいアニメーションコンポーネント、イージング関数、トランジションヘルパーを提供し、開発者が複雑なコードをゼロから書かずにスムーズで魅力的なインタラクションを実装できるようにします。このパッケージはAndroid、iOS、Web、デスクトップ環境など複数のプラットフォームをサポートしており、クロスプラットフォームプロジェクトに適しています。直感的なAPIと丁寧なドキュメント付きのサンプルにより、プロフェッショナルなアニメーションをアプリに統合するプロセスを簡素化しています。

用途

  • UIのトランジションを強化する
  • マイクロインタラクションの追加
  • ローディングインジケーターの作成
  • オンボーディング体験の向上
  • リスト項目のアニメーション
  • インタラクティブなボタンの作成

主な機能

  • 事前に構築されたアニメーションコンポーネント
  • カスタマイズ可能なイージングカーブ
  • クロスプラットフォーム対応
  • シンプルな API 統合
  • 軽量でモジュラーデザイン
  • 応答性のあるアニメーション処理

適している対象

  • 迅速なアニメーションを求めるUI/UXデザイナー
  • インタラクティブなアプリを開発する開発者
  • 洗練されたユーザー体験に注力するチーム
  • Flutterの初心者がアニメーションを探求しています
  • 一貫した視覚フィードバックを必要とするプロジェクト

注意事項

  • カスタムテーマ用に追加のスタイル設定が必要になる場合があります
  • 制限された高度なアニメーションコントロール
  • 中程度の複雑さのアニメーションに最適
  • 非常にカスタマイズされた、または独自のアニメーションロジックには適していない
  • Flutter のレンダリングパイプラインに依存

元の README

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

Animation Kit

A Flutter package providing a collection of utilities and widgets for creating advanced animations with ease.

Features

  • Customizable animation builders.
  • Repeated animations with various modes (e.g., repeat, reverse, ping-pong).
  • Implicit animations for smooth transitions.
  • Crossfade transitions between widgets.
  • Interval-based animation curves.
  • Utility functions for interpolating values like colors, offsets, and sizes.

Installation

Add the following to your pubspec.yaml:

dependencies:
  animation_kit: ^1.0.0

Then run:

flutter pub get

Usage

Repeated Animation
import 'package:animation_kit/animation_kit.dart';

RepeatedAnimationBuilder<double>(
  start: 0.0,
  end: 1.0,
  duration: Duration(seconds: 2),
  mode: RepeatMode.pingPong,
  builder: (context, value, child) {
    return Opacity(
      opacity: value,
      child: child,
    );
  },
  child: Text('Ping-Pong Animation'),
);
Crossfade Transition
import 'package:animation_kit/animation_kit.dart';

CrossFadedTransition(
  child: Text('New Widget'),
  duration: Duration(milliseconds: 500),
);
Custom Curve
import 'package:animation_kit/animation_kit.dart';

AnimationController controller = AnimationController(
  duration: const Duration(seconds: 2),
  vsync: this,
);

Animation<double> animation = CurvedAnimation(
  parent: controller,
  curve: IntervalDuration(
    start: Duration(milliseconds: 500),
    end: Duration(seconds: 1),
    duration: Duration(seconds: 2),
  ),
);
Implicit Animation
import 'package:animation_kit/animation_kit.dart';

AnimatedValueBuilder<double>(
  value: 1.0,
  duration: Duration(seconds: 1),
  builder: (context, value, child) {
    return Transform.scale(
      scale: value,
      child: child,
    );
  },
  child: Icon(Icons.star, size: 50),
);

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Commit your changes with clear messages.
  4. Submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

カテゴリー

ソースリポジトリ

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

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

ランキング