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

bottom_sheet_expandable_bar のカバー
パッケージ詳細v0.1.2

bottom_sheet_expandable_bar

下部バーを表示し、下部シートを展開して表示できる機能を持つパッケージ

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

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

flutter pub add bottom_sheet_expandable_bar

パッケージ概要

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

下部ナビゲーションバーを提供し、下部シートに拡張できるFlutterパッケージです。追加のコンテンツやアクションを提供します。シンプルな下部バーと柔軟な下部シートの両方の利点を組み合わせることで、ユーザーインタラクションを向上させます。コンパクトなナビゲーションと拡張可能な機能が必要なアプリに最適です。Android、iOS、Web、macOS、Windows、Linuxなど複数のプラットフォームをサポートしています。軽量で、既存のFlutterプロジェクトにスムーズに統合できます。

用途

  • 展開可能なオプション付きのモバイルアプリナビゲーション
  • インタラクティブなボトムシートによるUIの強化
  • Webおよびデスクトップアプリケーションでダイナミックな下部バーを作成する
  • 補助的なアクションへの迅速なアクセスを提供
  • 複数のプラットフォームにわたってレスポンシブレイアウトを設計する

主な機能

  • 拡張可能な下部バーインターフェース
  • 複数のプラットフォームをサポートしています
  • Flutter との簡単な統合
  • カスタマイズ可能な外観と動作
  • スムーズなアニメーションの遷移
  • 組み込みジェスチャー処理

適している対象

  • マルチプラットフォームのFlutterアプリを開発する開発者
  • インタラクティブなナビゲーションパターンを探しているUIデザイナー
  • 折りたたみ可能なアクションパネルを必要とするアプリ
  • 一貫したクロスプラットフォームUXを目指すプロジェクト
  • 高度なボトムシート機能の最小限のセットアップを希望するチーム

注意事項

  • 複雑なデザインには追加のスタイリングが必要になる場合があります
  • ボトムシートに大量のコンテンツがある場合のパフォーマンスへの影響
  • 基本的な展開/折りたたみを超えるカスタマイズは限られている
  • 中程度のコンテンツ量に最適
  • 小さなデバイスでは画面スペースの扱いに注意が必要です

元の README

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

Bottom Sheet Expandable Bar

This package create a bottom navigation bar with the capability to show a bottom sheet.

Instalation

Include bottom_sheet_expandable_bar in your pubspec.yaml file:

dependencies:
  flutter:
    sdk: flutter
  bottom_sheet_expandable_bar: version

Usage

To use this package, just import it into your file and enjoy it.

import 'package:bottom_sheet_expandable_bar/bottom_sheet_bar_icon.dart';
import 'package:bottom_sheet_expandable_bar/bottom_sheet_expandable_bar.dart';

...

bottomSheet: BottomBarSheet(
  children: [
    BottomSheetBarIcon(
      icon: Icon(Icons.home),
      color: Colors.redAccent, 
      onTap: (){
      },
    ),
    BottomSheetBarIcon(
      icon: Icon(Icons.person),
      color: Colors.blueAccent, 
      onTap: (){
      },
    ),
    BottomSheetBarIcon(
      icon: Icon(Icons.edit),
      color: Colors.blue[800], 
      onTap: (){
      },
    ),
    BottomSheetBarIcon(
      icon: Icon(Icons.star),
      color: Colors.orangeAccent, 
      onTap: (){
      },
    ),
  ],
),

...

IMPORTANT: Add this line to your theme to avoid an unexpected behaviour

theme: ThemeData(
  /// Add this line
  bottomSheetTheme: BottomSheetThemeData(backgroundColor: Colors.transparent),
),

BottomSheetBarIcon

This widget allow to generate a dynamic icon

Properties

Name Description Required Default
icon Widget to put as button icon False
color Color to indicate icon color False Colors.black
onTap Function to handle button on tap True
BottomBarSheet

This widget allow to generate a bottom bar with the capability to expanto to a bottom sheet

Properties

Name Description Required Default
children List of BottomSheetBarIcon widget to show icons within the bar False
buttonPosition ButtonBottomBarPosition to indicate expandable button position (center, end) False ButtonBottomBarPosition.center
backgroundBarColor Color to indicate bottom bar background color False Colors.white
backgroundColor Color to indicate bottom sheet color False Colors.white
showExpandableButton Boolean value to indicate when to show or hide expandable button False False
innerChild Widget to show into the bottom sheet False
bottomRadius Double value to indicate the corners radius for the bottom bar False 50.0
bottomBarHeight Double value to indicate the bottom bar height False 60.0
bottomBarWidth Double value to indicate the bottom bar height False Screen width * 0.9
duration Duration between show or hide the bottom sheet False 250 milliseconds
bottomSheetHeight Double value to indicate the bottom sheet height False Screen height * 0.75
iconExpand Icon to show into the expandable button False Icon(Icons.navigation)
iconColor Expandable button color False Colors.green
onClose Function to call when bottom sheet is closed False (){}
currentIndex Integer value to indicatet which tab is selected False 0
curve Curve to use on enter bottom sheet animation False Curves.ease
Expandable button at center

Expandable button at end

As a simple navigation bar

カテゴリー

ソースリポジトリ

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

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