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

custom_line_indicator_bottom_navbar のカバー
パッケージ詳細v0.0.8

custom_line_indicator_bottom_navbar

上部および下部のインジケーターとグラデーションを備えた、完全にカスタマイズ可能な下部ナビゲーションバー。

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

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

flutter pub add custom_line_indicator_bottom_navbar

パッケージ概要

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

グラデーション対応の上部および下部インジケーターを備えた、非常にカスタマイズ可能なボトムナビゲーションバー。複数のプラットフォームでモダンで視覚的に豊かなナビゲーション体験を求める開発者向けに設計されています。このパッケージは、インジケーターの色、形状、アニメーション、配置に対する細かい制御を可能にし、ユニークなUIデザインを実現できます。Flutterアプリへのシームレスな統合をサポートしており、Android、iOS、Web、macOS、Windows、Linuxを含むすべての主要プラットフォームに対応しています。

用途

  • 視覚フィードバック付きのカスタムアプリナビゲーション
  • グラデーション付きのブランドボトムバーを作成する
  • アニメーション付きインジケーターによるユーザーエクスペリエンスの向上
  • マルチプラットフォームアプリケーションの構築
  • モダンなモバイルおよびウェブインターフェースの設計

主な機能

  • 完全にカスタマイズ可能なインジケーター
  • 上部および下部の両方でグラデーションをサポート
  • タブ間のアニメーション遷移
  • クロスプラットフォーム互換性
  • カスタマイズ可能な色と形状
  • スムーズなスクロールとタップ操作

適している対象

  • モダンなUIを構築するFlutter開発者
  • カスタムナビゲーションを必要とするデザイン重視のアプリケーション
  • 複数のプラットフォームをターゲットにするアプリ
  • 下部ナビゲーションの外観に対して細かい制御を望む開発者

注意事項

  • Flutter レイアウト原則の理解が必要です
  • 複雑なテーマには追加のスタイリングが必要になる場合があります
  • 重いアニメーションによるパフォーマンスへの影響
  • 基本的なセットアップを超えるドキュメントは限られている
  • 3〜6つのナビゲーション項目を持つアプリに最適

元の README

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

custom_line_indicator_bottom_navbar

A fully customizable bottom navigation bar with line indicators and gradient.

alert2 alert2

Usage without gradient:

        class MyExample extends StatefulWidget {
        @override
        _MyExampleState createState() => _MyExampleState();
        }

        class _MyExampleState extends State<MyExample> {
        int _selectedIndex = 0; //default index

        List<Widget> _widgetOptions = [
            Text('Home'),
            Text('Account'),
            Text('Leaves'),
            Text('Loyalty'),
            Text('Requests'),
        ];
        @override
        Widget build(BuildContext context) {
            return Scaffold(
            appBar: AppBar(
                title: Text('Example'),
            ),
            body: Center(
                child: _widgetOptions.elementAt(_selectedIndex),
            ),
            bottomNavigationBar: CustomLineIndicatorBottomNavbar(
                selectedColor: Colors.blue,
                unSelectedColor: Colors.black54,
                backgroundColor: Colors.white,
                currentIndex: _selectedIndex,
                onTap: (index) {
                setState(() {
                    _selectedIndex = index;
                });
                },
                enableLineIndicator: true,
                lineIndicatorWidth: 3,
                indicatorType: IndicatorType.Top,
                // gradient: LinearGradient(
                //   colors: kGradients,
                // ),

                customBottomBarItems: [
                CustomBottomBarItems(
                    label: 'Home',
                    icon: Icons.home,
                ),
                CustomBottomBarItems(
                    label: 'Account',
                    icon: Icons.account_box_outlined,
                ),
                CustomBottomBarItems(
                    label: 'Leaves', icon: Icons.calendar_today_outlined),
                CustomBottomBarItems(
                    label: 'Loyalty',
                    icon: Icons.card_giftcard_rounded,
                ),
                CustomBottomBarItems(
                    label: 'Requests',
                    icon: Icons.list,
                ),
                ],
            ),
            );
        }
        }

Usage with gradient :

class MyExample extends StatefulWidget {

    @override
    _MyExampleState createState() => _MyExampleState();
}

class _MyExampleState extends State<MyExample> {
    int _selectedIndex = 0; //default index

    List<Widget> _widgetOptions = [
        Text('Home'),
        Text('Account'),
        Text('Leaves'),
        Text('Loyalty'),
        Text('Requests'),
    ];
    @override
    Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
            title: Text('Example'),
        ),
        body: Center(
            child: _widgetOptions.elementAt(_selectedIndex),
        ),
        bottomNavigationBar: CustomLineIndicatorBottomNavbar(
        selectedColor: Colors.white,
        unSelectedColor: Colors.black54,
        backgroundColor: Colors.white,
        currentIndex: _selectedIndex,
        onTap: (index) {
            setState(() {
            _selectedIndex = index;
            });
        },
        enableLineIndicator: true,
        lineIndicatorWidth: 3,
        indicatorType: IndicatorType.Top,
        gradient: LinearGradient(
            colors: [Colors.pink, Colors.yellow],
        ),
        customBottomBarItems: [
            CustomBottomBarItems(
                label: 'Home',
                icon: Icons.home,
            ),
            CustomBottomBarItems(
                label: 'Account',
                icon: Icons.account_box_outlined,
            ),
            CustomBottomBarItems(
                label: 'Leaves', icon: Icons.calendar_today_outlined),
            CustomBottomBarItems(
                label: 'Loyalty',
                icon: Icons.card_giftcard_rounded,
            ),
            CustomBottomBarItems(
                label: 'Requests',
                icon: Icons.list,
            ),
        ],
        ),
    );
    }
}

カテゴリー

ソースリポジトリ

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

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