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

パッケージ詳細v1.0.2+1

extended_navbar_scaffold

拡張可能で浮き移動型ナビゲーションバーを備えたカスタム Scaffold

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

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

flutter pub add extended_navbar_scaffold

パッケージ概要

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

標準のScaffoldを拡張し、展開可能で浮遊型の下部ナビゲーションバーを備えたカスタマイズ可能なFlutter Scaffoldです。スクロール時にナビゲーションバーを非表示にする、または追加のアイテムを表示するためにバーを展開するなど、動的な挙動を可能にし、複雑なナビゲーションが必要なアプリにおけるユーザー体験を向上させます。応答性がありインタラクティブな下部バーを必要とするモダンなUIに最適です。パッケージは軽量であり、既存のFlutterプロジェクトとスムーズに統合できます。

用途

  • 複雑な下部ナビゲーションを持つアプリ
  • スクロールベースのインタラクティブなナビゲーションバー
  • カスタマイズ可能な浮動ナビゲーションインターフェース
  • 展開可能なナビゲーションバーによるユーザー体験の向上
  • モダンなモバイルアプリデザイン

主な機能

  • 拡張可能な下部ナビゲーションバー
  • フローティングナビゲーションバーのサポート
  • カスタマイズ可能なアニメーションと動作
  • Flutter Scaffold とのシームレスな統合
  • 軽量で実装が簡単

適している対象

  • 現代のFlutterアプリを開発する開発者
  • インタラクティブなナビゲーションパターンを探しているデザイナー
  • 応答性の下部バーを必要とするプロジェクト
  • 複数のナビゲーション先を持つモバイルアプリ
  • UI中心のアプリケーション

注意事項

  • 制限されたプラットフォーム固有のカスタマイズ
  • 組み込みのダークモードサポートなし
  • ステート管理を手動で処理する必要があります
  • 非常に大きなナビゲーション項目リストには最適化されていません
  • 複雑なレイアウトには追加のスタイリングが必要になる場合があります

元の README

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

extended_navbar_scaffold

Pub Awesome Flutter

Custom Extended Scaffold

Custom Flutter widgets that makes Bottom Navigation Floating and can be expanded with much cleaner and easier way.

Installing

Add the following to your pubspec.yaml file:

dependencies:
  extended_navbar_scaffold: any

Creating

ExtendedNavigationBarScaffold(
  body: Container(
    color: Colors.deepOrange,
  ),
  elevation: 0,
  floatingAppBar: true,
  appBar: AppBar(
    shape: kAppbarShape,
    leading: IconButton(
      icon: Icon(
        EvaIcons.person,
        color: Colors.black,
      ),
      onPressed: () {},
    ),
    title: Text(
      'Extended Scaffold Example',
      style: TextStyle(color: Colors.black),
    ),
    centerTitle: true,
    backgroundColor: Colors.white,
  ),
  navBarColor: Colors.white,
  navBarIconColor: Colors.black,
  moreButtons: [
    MoreButtonModel(
      icon: MaterialCommunityIcons.wallet,
      label: 'Wallet',
      onTap: () {},
    ),
    MoreButtonModel(
      icon: MaterialCommunityIcons.parking,
      label: 'My Bookings',
      onTap: () {},
    ),
    MoreButtonModel(
      icon: MaterialCommunityIcons.car_multiple,
      label: 'My Cars',
      onTap: () {},
    ),
    MoreButtonModel(
      icon: FontAwesome.book,
      label: 'Transactions',
      onTap: () {},
    ),
    MoreButtonModel(
      icon: MaterialCommunityIcons.home_map_marker,
      label: 'Offer Parking',
      onTap: () {},
    ),
    MoreButtonModel(
      icon: FontAwesome5Regular.user_circle,
      label: 'Profile',
      onTap: () {},
    ),
    null,
    MoreButtonModel(
      icon: EvaIcons.settings,
      label: 'Settings',
      onTap: () {},
    ),
    null,
  ],
  searchWidget: Container(
    height: 50,
    color: Colors.redAccent,
  ),
  // onTap: (button) {},
  // currentBottomBarCenterPercent: (currentBottomBarParallexPercent) {},
  // currentBottomBarMorePercent: (currentBottomBarMorePercent) {},
  // currentBottomBarSearchPercent: (currentBottomBarSearchPercent) {},
  parallexCardPageTransformer: PageTransformer(
    pageViewBuilder: (context, visibilityResolver) {
      return PageView.builder(
        controller: PageController(viewportFraction: 0.85),
        itemCount: parallaxCardItemsList.length,
        itemBuilder: (context, index) {
          final item = parallaxCardItemsList[index];
          final pageVisibility =
              visibilityResolver.resolvePageVisibility(index);
          return ParallaxCardsWidget(
            item: item,
            pageVisibility: pageVisibility,
          );
        },
      );
    },
  ),
);

Screenshots

Implementation

Implementation

Widget Demo

Demo

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

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

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