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

rive_animated_icon のカバー
パッケージ詳細v2.1.1

rive_animated_icon

このパッケージは、お好みに合わせてカスタマイズできるRiveアニメーションアイコンを提供します。

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

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

flutter pub add rive_animated_icon

パッケージ概要

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

rive_animated_icon パッケージは、Rive を使って構築されたカスタマイズ可能なアニメーションアイコンのコレクションを提供し、複数のプラットフォームでスムーズでインタラクティブなアニメーションを可能にします。動的なビジュアル要素を求める開発者向けに設計されており、Flutter アプリにシームレスに統合され、サイズ、色、アニメーション状態のカスタマイズが簡単にできます。魅力的なマイクロインタラクションでユーザーインターフェースを強化するのに最適で、Android、iOS、Web、macOS、Windows、Linux をサポートしています。Rive の軽量アニメーションエンジンを利用することで、アプリの応答性を損なわず、高パフォーマンスなビジュアルを実現します。

用途

  • アニメーションアイコンによるUIの向上
  • アプリにマイクロインタラクションを追加する
  • 魅力的なロードインジケーターを作成する
  • テーマごとにアイコンアニメーションをカスタマイズする
  • モーションによるユーザーのフィードバック向上
  • アニメーションボタンの統合

主な機能

  • Rive ベースのアニメーション
  • カスタマイズ可能なサイズと色
  • 複数プラットフォームのサポート
  • Flutter との簡単な統合
  • 事前構築されたアニメーションアイコンセット
  • レスポンシブアニメーション制御

適している対象

  • アニメーション付きUI要素を探しているFlutter開発者
  • インタラクティブなアイコンを必要とするアプリ
  • デザイナーと開発者の連携
  • クロスプラットフォームデプロイメントをターゲットにするプロジェクト
  • アニメーションに Rive を使用するチーム

注意事項

  • Rive アニメーションに精通している必要があります
  • Rive アセットによる追加のバンドルサイズ
  • 低スペックデバイスにおけるパフォーマンスへの潜在的な影響
  • Rive互換のアニメーション形式に限定
  • 適切なアセット管理が必要です
  • 複雑なインタラクションにはカスタムコードが必要になる場合があります

元の README

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

RiveAnimatedIcons - 50+ Icons Available! 🚀

MIT License

This package provides rive animated icons that can be customized to suit your preference. It includes the riveIcon type, onTap, color and other parameters to give you a level of control.

Icons Sample ⬇️

rac-demo

Example


RiveAnimatedIcon(
    riveIcon: RiveIcon.home,
    width: 50,
    height: 50,
    color: Colors.green,
    strokeWidth: 3,
    loopAnimation: false,
    onTap: (){},
    onHover: (value){}                          
),

Required parameter

riveIcon:

This parameter is used to define the icon type from the RiveIcon enum

Optional parameters

width:

This parameter is used to set the icon width

height:

This parameter is used to set the icon height

color:

This parameter is used to set icon color

loopAnimation:

When this parameter is set to true the icon's animation will be on loop

onTap:

This callback is set by the user to perform actions onTap

onHover:

This callback is set by the user to perform actions onHover

splashColor:

This parameter is used to set icon splash color

strokeWidth:

This parameter is used to set icon stroke width

splashFactory:

This parameter is used to set icon splashFactory

mouseCursor:

This parameter is used to set icon mouseCursor when hovered

enableAbsorbPointer:

When this parameter is set to true it disables all interactive features of the icon

Animated Icon stroke width sample ⬇️

InShot_20240613_203645913

Best practices 🙌

  • If a Rive animation is set to loop and is scrolled off-screen, you can disable the loop to stop the animation and conserve resources while it's not visible. Similarly, you can re-enable the loop when the animation comes back into view.

License 📝

Rive Animated Icons is MIT-licensed

Animation credits 🏆

All the icons available were animated in Rive and sourced from the Rive community files. Special thanks to all the animators!

Maintainers 🔩

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

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

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