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

expansion_tile_group 封面
套件詳情v2.3.0

expansion_tile_group

透過整合高度可自訂的組件,突破標準 ExpansionTile 小工具的限制,全面擴展其功能。以及更多驚人的功能。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
5540
喜歡數
102
Pub 分數
160

安裝套件

flutter pub add expansion_tile_group

套件介紹

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

expansion_tile_group 包透過進階自訂與功能增強了標準的 ExpansionTile 小工具。它讓開發者能輕鬆管理多個展開項目,支援單一或多個開啟狀態、動畫過渡,以及可自訂的標題與內容。非常適合建立複雜的可摺疊介面,例如常見問題解答、設定面板或音符列。此套件專為跨平台使用設計,並能順暢整合至 Flutter 應用程式中。

適用情境

  • 建立互動式常見問題
  • 建構可摺疊的設定選單
  • 設計手風琴式介面
  • 實現嵌套可展開清單
  • 為網頁和移動設備開發響應式使用者介面

主要特色

  • 支援單一或多個開啟的磁磚
  • 可自定義的標題和內容組件
  • 展開/收合的平滑動畫
  • 跨平台相容性
  • 與現有 Flutter 程式碼的輕鬆整合
  • 可設定的過渡持續時間

適合對象

  • 開發複雜可擴展UI的開發者
  • 需要動態摺疊面板行為的應用
  • 需要跨平台一致擴展模式的項目
  • 優先考慮可重複使用和可維護程式碼的團隊
  • Flutter 初學者學習列表中的狀態管理

使用建議

  • 可能需要額外的狀態管理來處理複雜邏輯
  • 大量瓦片情況下的效能影響
  • 除了基本用法之外,文件內容有限
  • 不適合簡單的單次展開需求
  • 需要理解 Flutter 的 widget 樹和狀態處理

原始 README

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

expansion_tile_group

Enhance your Flutter apps with this advanced ExpansionTile package! This package overcomes the limitations of the standard ExpansionTile widget by incorporating highly customizable widgets that fully extends its functionality. These widgets can be seamlessly grouped and their interactions easily managed, offering you unparalleled control and flexibility.

Overview

Check out Example Or our Documentation

fantasy_demo_gif

Image Image Image Image Image Image

Check out Example Or our Documentation

Migrate with CHANGE LOG

Features

Item features:

  • ExpansionTileItem fully extends standard of ExpansionTile functionality.
  • Supported many commonly types of ExpansionTileItem UIs: ExpansionTileOutlined, ExpansionTileFlat, ExpansionTileLeaf, ExpansionTileCard.
  • Can easily control behaviors of an ExpansionTileItem from anywhere (expand or collapse from anywhere).
  • Can easily custom or add decoration into an ExpansionTileItem with Border, BorderRadius, Shadow, or BoxDecoration and more.
  • Can prevent an ExpansionTileItem expand until a task is completed.
  • Can remove completely the trailing included: area, arrow icon that ExpansionTile can NOT. With that the title can be extended the fully width.
  • Can remove completely default title's vertical padding of an ExpansionTile.
  • Can hide the subtitle of an ExpansionTileItem whenever it expanded.
  • Can change the default Trailing Icon to a custom widget with keeping default rotate animation.

Group features:

  • Can group ExpansionTileItems together and manage them.
  • Supporting type's behaviors of interactions of items in group: ExpandOnlyCurrent, ExpandAll, CollapseAll, ExpandAllOrCollapseAll, expandAlwaysCurrent.
  • Can listen to behaviors' changed of items in the group.
  • Can add the space between items in the group.

Documentation

See the API documentation for details on the following topics:

FAQ

You can read the FAQ here: FAQ

Sponsoring

If this package or any other package I created is helping you, please consider sponsoring me so that I can take time to update this package.

Buy Me A Coffee

OR

7ezgif-5-20a8a8001a

Contributions

Feel free to contribute to this project. Check more Contributing guide

I'd really appreciate it if you know any common ExpansionTile UIs and give the PR.

If you find a bug or want a feature, but don't know how to fix/implement it, please fill an issue.

If you fixed a bug or implemented a feature, please send a pull request.

Visitors Count

Visitor Count

所屬分類

原始碼儲存庫

使用此套件的專案

暫無相關資料。