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

floating_bottom_bar のカバー
パッケージ詳細v0.0.4

floating_bottom_bar

このパッケージは、中央および下部タブボタンに配置されたフローティングアクションボタンにスライドアニメーションを提供します。

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

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

flutter pub add floating_bottom_bar

パッケージ概要

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

floating_bottom_bar パッケージは、中央および下部タブボタンに配置されたフローティングアクションボタンにスムーズなスライドアニメーションを追加することで、ユーザーインターフェースを強化します。Flutterアプリ専用に設計されており、下部ナビゲーションバーとシームレスに統合され、Android、iOS、Web、macOS、Windows、Linuxプラットフォームで魅力的でインタラクティブな体験を提供します。カスタマイズ可能なトランジションとレスポンシブレイアウトをサポートしており、直感的なナビゲーションと視覚的魅力を重視する現代的なアプリデザインに最適です。

用途

  • モバイルアプリのナビゲーションの向上
  • アニメーション付きのフローティングアクションボタンを作成する
  • ダッシュボードにおけるユーザー参加の向上
  • 応答性のあるボトムナビゲーションの設計
  • Webアプリに動的UI要素を追加する
  • マルチプラットフォームアプリ開発をサポート

主な機能

  • FAB のスムーズなスライドアニメーション
  • 中央揃えのフローティングアクションボタン
  • ボトムタブ統合
  • クロスプラットフォーム互換性
  • カスタマイズ可能なトランジション効果
  • レスポンシブレイアウトのサポート

適している対象

  • アニメーションUIを求めるFlutter開発者
  • 直感的な下部ナビゲーションを必要とするアプリ
  • デザイナーはインタラクティブコンポーネントに注目しています
  • マルチプラットフォームアプリケーションビルダー
  • モバイルおよびウェブアプリのUX向上

注意事項

  • Flutter SDK 2.0 以上が必要です
  • 低スペックデバイスでのパフォーマンスに影響を与える可能性があります
  • アニメーションを超えるカスタマイズは限られている
  • シンプルなナビゲーションパターンに最適
  • プラットフォーム固有のレンダリングに依存
  • 複雑なナビゲーション階層には適していません

元の README

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

floating_bottom_bar

This package will animate a floating action button at the center and icons at the bottomNavigationBar using AnimatedContainer and SlideTransition respectively.

Floating Bottom Bar

Floating Bottom Bar

Usage

Example
    bottomNavigationBar: AnimatedBottomNavigationBar(
      barColor: Colors.white,
      controller: FloatingBottomBarController(initialIndex: 1),
      bottomBar: [
        BottomBarItem(
          icon: const Icon(Icons.home, size: example.Dimens.iconNormal),
          iconSelected: const Icon(Icons.home,
              color: example.AppColors.cherryRed,
              size: example.Dimens.iconNormal),
          title: example.Strings.home,
          dotColor: example.AppColors.cherryRed,
          onTap: (value) {
            setState(() {
              index = value;
            });
            log('Home $value');
          },
        ),
        BottomBarItem(
          icon:
              const Icon(Icons.photo, size: example.Dimens.iconNormal),
          iconSelected: const Icon(Icons.photo,
              color: example.AppColors.cherryRed,
              size: example.Dimens.iconNormal),
          title: example.Strings.search,
          dotColor: example.AppColors.cherryRed,
          onTap: (value) {
            setState(() {
              index = value;
            });
            log('Search $value');
          },
        ),
        BottomBarItem(
          icon:
              const Icon(Icons.person, size: example.Dimens.iconNormal),
          iconSelected: const Icon(Icons.person,
              color: example.AppColors.cherryRed,
              size: example.Dimens.iconNormal),
          title: example.Strings.person,
          dotColor: example.AppColors.cherryRed,
          onTap: (value) {
            setState(() {
              index = value;
            });
            log('Profile $value');
          },
        ),
        BottomBarItem(
          icon: const Icon(Icons.settings,
              size: example.Dimens.iconNormal),
          iconSelected: const Icon(Icons.settings,
              color: example.AppColors.cherryRed,
              size: example.Dimens.iconNormal),
          title: example.Strings.settings,
          dotColor: example.AppColors.cherryRed,
          onTap: (value) {
            setState(() {
              index = value;
            });
            log('Settings $value');
          },
        ),
      ],
      bottomBarCenterModel: BottomBarCenterModel(
        centerBackgroundColor: example.AppColors.cherryRed,
        centerIcon: const FloatingCenterButton(
          child: Icon(
            Icons.add,
            color: AppColors.white,
          ),
        ),
        centerIconChild: [
          FloatingCenterButtonChild(
            child: const Icon(
              Icons.home,
              color: AppColors.white,
            ),
            onTap: () => log('Item1'),
          ),
          FloatingCenterButtonChild(
            child: const Icon(
              Icons.access_alarm,
              color: AppColors.white,
            ),
            onTap: () => log('Item2'),
          ),
          FloatingCenterButtonChild(
            child: const Icon(
              Icons.ac_unit_outlined,
              color: AppColors.white,
            ),
            onTap: () => log('Item3'),
          ),
        ],
      ),
    ),
Required parameters
bottomBar:

This property takes List as a parameter which are use to show the icons in the bottomNavigationBar.

bottomBarCenterModel:

BottomBarCenterModel class is model class for bottom menu. It takes icon, iconSelected, title, titleStyle as parameters.

controller:

FloatingBottomBarController is used to give the initial index to the bottom bar to have the pre selected item form the bottom bar.

Guideline for contributors

Contribution towards our repository is always welcome, we request contributors to create a pull request to the develop branch only.

Guideline to report an issue/feature request

It would be great for us if the reporter can share the below things to understand the root cause of the issue.

  • Library version
  • Code snippet
  • Logs if applicable
  • Device specification like (Manufacturer, OS version, etc)
  • Screenshot/video with steps to reproduce the issue

LICENSE!

Animated Segment is MIT-licensed.

Let us know!

We’d be really happy if you send us links to your projects where you use our component. Just send an email to sales@mindinventory.com And do let us know if you have any questions or suggestion regarding our work.

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

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

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