搜尋套件、儲存庫與 APP 分類

flutter_awesome_bottom_sheet 封面
套件詳情v0.0.2

flutter_awesome_bottom_sheet

快速輕鬆地顯示酷炫的底部表單作為確認對話框。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
35
喜歡數
26
Pub 分數
125

安裝套件

flutter pub add flutter_awesome_bottom_sheet

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

一個 Flutter 套件,讓開發者能快速且輕鬆地顯示視覺上吸引人的底部彈出視窗作為確認對話框。設計簡潔且實現迅速,透過流暢的動畫與可自訂的版面增強使用者互動體驗。適用於需要使用者確認或快速操作但無需離開目前螢幕的使用情境。此套件支援 Android、iOS、Web、macOS、Windows 與 Linux 多個平台,確保在各裝置上行為一致。

適用情境

  • 使用者確認對話方塊
  • 快速操作選單
  • 表單提交提示
  • 模態反饋介面
  • 引導步驟指示器

主要特色

  • 易於使用的 API
  • 可自訂的動畫
  • 跨平台支援
  • 內建確認樣式
  • 輕量且快速

適合對象

  • 尋求快速底部表單整合的開發者
  • 需要確認對話方塊的專案
  • 採用以行動裝置為首選的使用者介面設計之應用程式
  • 重視開發速度的團隊
  • 跨平台 Flutter 應用程式

使用建議

  • 超出基本樣式之外的自訂功能有限
  • 可能需要額外的樣式設定以實現複雜設計
  • 最適合簡單的確認流程
  • 不適合用於大量資料輸入的表單
  • 依賴外部相依性以實現進階功能

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Flutter Awesome Bottom Sheet

Features

  • Custom child widgets
  • Adaptive design

Supported platforms

  • Flutter Android
  • Flutter iOS
  • Flutter web
  • Flutter desktop
  • Flutter macOS
  • Flutter linux

Installation

Add flutter_awesome_bottom_sheet: <later-version> to your pubspec.yaml dependencies. And import it:

import 'package:flutter_awesome_bottom_sheet/flutter_awesome_bottom_sheet.dart';
How to Use

How to Use

create object

final AwesomeBottomSheet _awesomeBottomSheet = AwesomeBottomSheet();

Example

Simple Awesome Sheet

 _awesomeBottomSheet.show(
      context: context,
      title: const Text("Lorem Ipsum"),
      description: const Text("Flutter Awesome Bottom sheet content here..."),
      color: CustomSheetColor(
        mainColor: const Color(0xff2979FF),
        accentColor: const Color(0xff0D47A1),
        iconColor: Colors.white,
      ),
      positive: AwesomeSheetAction(
        onPressed: () {
          Navigator.of(context).pop();
        },
        title: 'CANCEL',
      ),
    );

Add Buttons

 _awesomeBottomSheet.show(
     ...
      positive: AwesomeSheetAction(
        onPressed: () {
          Navigator.of(context).pop();
        },
        title: 'DELETE',
      ),
      negative: AwesomeSheetAction(
        onPressed: () {
          Navigator.of(context).pop();
        },
        title: 'CANCEL',
      ),
    );

Add Icons in content and action button


 _awesomeBottomSheet.show(
     ...
      icon: Icons.signal_cellular_connected_no_internet_4_bar,
      positive: AwesomeSheetAction(
        onPressed: () {
          Navigator.of(context).pop();
        },
        title: 'OPEN SETTING',
        icon: Icons.settings,
      ),
      negative: AwesomeSheetAction(
        onPressed: () {
          Navigator.of(context).pop();
        },
        title: 'CANCEL',
      ),
    );

Custom color

 _awesomeBottomSheet.show(
      ...
      color: CustomSheetColor(
        mainColor: Colors.white,
        accentColor: const Color(0xff5A67D8),
        iconColor: const Color(0xff5A67D8),
      ),
      ...
    ); 

Screenshot

Simple Action Icon
simple action icon

所屬分類

原始碼儲存庫

使用此套件的專案

暫無相關資料。