FLUTTER ECOSYSTEM

Playhi/list_tile_more_customizable

一个具有更多可自定义细节的 ListTile。

list_tile_more_customizable 项目封面
Stars
5
Forks
2
最近推送(UTC)
2022年3月26日
项目状态
未归档
Playhi GitHub avatar
GITHUB User

Playhi ↗

Busy~ Busy~ Busy~ :joy:

语言C++DartCMakeHTMLCSwiftKotlinObjective-C

此仓库发布的插件

使用的依赖

依赖清单 2 项
  • flutter{"sdk":"flutter"}
  • flutter_test开发依赖{"sdk":"flutter"}

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 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