list_tile_more_customizable
一个具有更多可自定义细节的 ListTile,基于传统的 Flutter ListTile 提供了更多可自定义功能。
一个具有更多可自定义细节的 ListTile。
以下为英文项目原文快照,最新内容请访问 GitHub。
A ListTile with more customizable details.
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.
ListTileMoreCustomizable(
title: Text("Title"),
trailing: Icon(Icons.people),
horizontalTitleGap: 0.0,
minVerticalPadding: 0.0,
minLeadingWidth: 40.0,
onTap: (details){},
onLongPress: (details){},
);
依赖清单 2 项
{"sdk":"flutter"}{"sdk":"flutter"}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗