搜索插件、代码仓与 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

所属分类

源码仓库

使用此插件的项目