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

titled_navigation_bar のカバー
パッケージ詳細v4.1.0

titled_navigation_bar

クリック時にスムーズなアニメーションを備えた、美しい、清潔でシンプルなボトムナビゲーションバーです。このパッケージは非常にカスタマイズ可能で、詳細については以下をご覧ください。

30日間ダウンロード
193
いいね数
142
Pub ポイント
40

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

flutter pub add titled_navigation_bar

パッケージ概要

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

Flutter用の視覚的に魅力的でミニマリストな下部ナビゲーションバーで、選択時にスムーズでアニメーション付きの遷移を提供します。非常にカスタマイズ可能で、開発者がアプリのデザインに合わせて外観と動作を調整できます。クリーンな美学と直感的なユーザーインタラクションに焦点を当てており、現代的で洗練されたインターフェースを重視するアプリに最適です。簡単なpubコマンドで簡単に統合でき、パフォーマンスと使いやすさに注意を払いながらメンテナンスされています。

用途

  • 洗練された下部ナビゲーションバーを必要とするモバイルアプリ
  • カスタマイズ可能なナビゲーション体験
  • 視覚的な仕上げとユーザー体験に焦点を当てたアプリ
  • シンプルでありながら洗練されたUIコンポーネント
  • アニメーション付きの状態変更を持つナビゲーションバー

主な機能

  • スムーズなクリックアニメーション
  • 非常にカスタマイズ可能なデザイン
  • ミニマリスティックでクリーンな美学
  • Flutter との簡単な統合
  • 動的ラベルスタイルのサポート

適している対象

  • モダンなナビゲーションUIを求めるFlutter開発者
  • デザインの一貫性を重視するプロジェクト
  • 複数のタブまたはセクションを持つアプリ
  • 軽量なナビゲーションソリューションを求める開発者
  • デザインを重視したモバイルアプリケーション

注意事項

  • 制限されたプラットフォーム固有のカスタマイズ
  • 組み込みアイコンのサポートなし(手動設定が必要)
  • シンプルなナビゲーションパターンに最適
  • 複雑なレイアウトには追加のスタイリングが必要になる場合があります
  • 非常に大きなナビゲーションセットには最適化されていません

元の README

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

Pub Awesome Flutter

Titled Bottom Navigation Bar

A beautiful, clean and simple bottom navigation bar with smooth animation on click. This package is high customizable, read more bellow for more details.

You can see the source code of this lib inside the /lib folder.

Show some :heart: and star the repo to support this project

Preview (default mode)

Default Mode Gif

Preview (with reverse mode)

Reversed Mode Gif

Package overview

  • [x] Custom icon color
  • [x] Custom indicator color
  • [x] Support from two to five items
  • [x] Reverse mode (show selected item as icon or title)
  • [x] Option to define custom item background color
  • [x] Use currentIndex property to update the Bar giving a tab position
  • [x] No need setState(...) to update the current index
  • [x] Support RTL TextDirection (thanks to Victor Uvarov)

Getting Started

Follow these steps to use this library

Add the plugin:
dependencies:
  ...
  titled_navigation_bar: ^5.0.0-nullsafety.0
Import the package
import 'package:titled_navigation_bar/titled_navigation_bar.dart';
Adding the widget
bottomNavigationBar: TitledBottomNavigationBar(
  currentIndex: 2, // Use this to update the Bar giving a position
  onTap: (index){
    print("Selected Index: $index");
  },
  items: [
      TitledNavigationBarItem(title: Text('Home'), icon: Icons.home),
      TitledNavigationBarItem(title: Text('Search'), icon: Icons.search),
      TitledNavigationBarItem(title: Text('Bag'), icon: Icons.card_travel),
      TitledNavigationBarItem(title: Text('Orders'), icon: Icons.shopping_cart),
      TitledNavigationBarItem(title: Text('Profile'), icon: Icons.person_outline),
  ]
)

Customization (Optional)

TitledBottomNavigationBar

onTap - Use this to get notified when an item is clicked, you can retrieve the current item's index on this function. Should not be null!
items - The items of your bottom navigation bar. Use the TitledNavigationBarItem class to add items. Should not be null!
curve - Use this to define your custom curve animation. Should not be null!
reverse - If true, the visible widget of the selected item will be the Text (with the title of the item). If false, the visible widget of the selected item will be the icon. Default to false
activeColor - The active Text/Icon color. The default color is the indicatorColor of your app Theme.
inactiveColor - The inactive Text/Icon color. The default is the black color.
indicatorColor - The indicator color. The default color is the indicatorColor of your app Theme.
currentIndex - Use this to update the Bar giving a position.
enableShadow - Use this to remove the NavigationBar's shadow

TitledNavigationBarItem

icon -The icon of this item. This will be used as default state if reverse mode is disabled
title - The title of this item. This will be used as default state if reverse mode is enabled

カテゴリー

ソースリポジトリ

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