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

套件詳情v3.0.0

list_tile_more_customizable

一個具有更多可自訂細節的 ListTile,基於傳統的 Flutter ListTile 提供了更多可自訂功能。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
77
喜歡數
15
Pub 分數
150

安裝套件

flutter pub add list_tile_more_customizable

套件介紹

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

一個高度可自訂的 Flutter ListTile 擴充,強化標準 ListTile 的額外樣式與功能選項。它允許開發者細緻調整圖示對齊、文字樣式、間距與版面行為,超越預設 ListTile 所提供的功能。非常適合需要一致且精緻清單項目並帶有客製化視覺細節的應用程式。設計時考慮跨平台支援,可在 Android、iOS、Web、macOS、Windows 與 Linux 上順暢運作。

適用情境

  • 自定義清單項目佈局
  • 建立一致的UI元件
  • 增強材料設計列表
  • 構建複雜的列表介面
  • 透過靈活的樣式改善可訪問性

主要特色

  • 擴展的圖示和文字對齊選項
  • 可自訂的間距和內邊距
  • 支援動態內容尺寸
  • 改善主題整合
  • 跨平台相容性
  • 靈活的佈局設定

適合對象

  • 尋求詳細控制的UI設計師
  • 開發可重用清單組件的開發者
  • 需要高階列表自訂的應用程式
  • 專注於一致設計系統的團隊
  • 針對多個平台的專案

使用建議

  • 可能需要額外的樣式邏輯來處理複雜用例
  • 大型清單可能帶來的效能影響
  • 與核心組件相比,文件較少
  • 依賴外部套件依賴
  • 在簡單情境中,並非標準 ListTile 的替代品

原始 README

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

list_tile_more_customizable

A ListTile with more customizable details.

Introduction

Important: With the efforts of the List Tile More Customizable Authors and the flutter community, now we can directly modify the horizontalTitleGap, minVerticalPadding and minLeadingWidth in the ListTile, so if you only use these three functions, it is time to switch back to use the ListTile.

This project is a modified version of Flutter ListTile, and provides more customizable functions, with these functions, you can set the horizontalTitleGap, minVerticalPadding, minLeadingWidth and get the PointerDownEvent when onTap or onLongPress occurred.

Usage

ListTileMoreCustomizable(
    title: Text("Title"),
    trailing: Icon(Icons.people),
    horizontalTitleGap: 0.0,
    minVerticalPadding: 0.0,
    minLeadingWidth: 40.0,
    onTap: (details){},
    onLongPress: (details){},
);

Example

Example

所屬分類

原始碼儲存庫

使用此套件的專案