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

animated_rail のカバー
パッケージ詳細v2.0.2

animated_rail

複数のクールなエフェクトと、レールの開閉などのオプションを備えたFlutterアニメーションナビゲーションレール。

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

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

flutter pub add animated_rail

パッケージ概要

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

Animated Rail は、複数のビジュアルエフェクトを備えたアニメーション付きのボトムナビゲーションレールでナビゲーションを強化するFlutterパッケージです。動的な開閉アニメーションをサポートしており、ユーザーがレールの表示状態をスムーズに切り替えることができます。モダンでインタラクティブなUI向けに設計されており、クロスプラットフォームでの洗練されたナビゲーション遷移を必要とするアプリにシームレスに統合できます。カスタマイズ可能な動作と滑らかなパフォーマンスにより、アプリのナビゲーションデザインに洗練された仕上がりをもたらします。

用途

  • インタラクティブなボトムナビゲーション
  • ダイナミックUIのトランジション
  • モバイルおよびデスクトップアプリのナビゲーション
  • カスタマイズ可能なナビゲーションレール
  • アニメーションによる体験の向上
  • レスポンシブレイアウトの調整

主な機能

  • 複数のアニメーション効果
  • 開く/閉じるトグル機能
  • クロスプラットフォーム対応
  • カスタマイズ可能な外観
  • スムーズなトランジションアニメーション
  • 既存のFlutterプロジェクトとの簡単な統合

適している対象

  • アニメーションナビゲーションを求める開発者
  • 複雑なナビゲーションが必要なアプリ
  • デザインに焦点を当てたFlutterアプリケーション
  • マルチプラットフォームのFlutterアプリ
  • UI/UX向上プロジェクト

注意事項

  • 低スペックデバイスでのパフォーマンスに影響を与える可能性があります
  • 状態管理の慎重な取り扱いが必要です
  • 組み込みエフェクトを超えるカスタマイズは限定的
  • 最小限のナビゲーション項目を持つアプリに最適
  • 静的ナビゲーションレイアウトには適していません
  • 更新に外部のGitHubリポジトリに依存しています

元の README

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

Animated Naviation Rail for Flutter

Pub

Flutter Animated Naviation Rail with multiple cool effects see example project.

gif

Getting Started

Add the package to your pubspec.yaml:

animated_rail: any

In your dart file, import the library:

import 'package:animated_rail/index.dart';
  AnimatedRail(
        background: hexToColor('#8B77DD'),
        maxWidth: 275,
        width: 100,
        expand: false,
        isStatic: true,
        railTileConfig: RailTileConfig(
            iconSize: 22,
            iconColor: Colors.white,
            expandedTextStyle: TextStyle(fontSize: 15),
            collapsedTextStyle: TextStyle(fontSize: 12, color: Colors.white),
            activeColor: Colors.indigo,
            iconPadding: EdgeInsets.symmetric(vertical: 5),
            hideCollapsedText: true,
        ),
        items: [
          RailItem(
              icon: Icon(Icons.home),
              label: "Home",
              screen: _buildScreen('Home')),
          RailItem(
              icon: Icon(Icons.message_outlined),
              label: 'Messages',
              screen: _buildScreen('Messages')),
          RailItem(
              icon: Icon(Icons.notifications),
              label: "Notification",
              screen: _buildScreen('Notification')),
          RailItem(
              icon: Icon(Icons.person),
              label: 'Profile',
              screen: _buildScreen('Profile')),
        ],
      )
Parameters:
Name Description Required Default value
items the tabs of the rail as a list of object type [RailItem] required -
width the width of the rail when it is opened required 100
maxWidth the max width the rai will snap to, active when [exapnd] is equal true - 350
direction direction of rail if it is on the right or left required TextDirection.ltr
selectedIndex current selected Index dont use it unlessa you want to change the tabs programmatically - 0
background background of the rail - 0
expand if true the the rail can exapnd and reach [maxWidth] and the animation for text will take effect - true
isStatic if true the rail will not move vertically - false
railTileConfig Rail tile config - -
cursorSize Size of cursor - Size(100,100)
cursorActionType adds click trigger option to use on cursor - CursorActionTrigger.drag
builder custom widgt builder for rail menu items - -
future features

[x] full custom tab [x] add more customization to rail item [ ] custom rail pointer [ ] custom rail shape

Contributions are more than welcomed

カテゴリー

ソースリポジトリ

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

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