FLUTTER ECOSYSTEM

Playhi/list_tile_more_customizable

A ListTile with more customizable details.

list_tile_more_customizable project cover
Stars
5
Forks
2
Last push (UTC)
Mar 26, 2022
Project status
Active
Playhi GitHub avatar
GITHUB User

Playhi ↗

Busy~ Busy~ Busy~ :joy:

LanguagesC++DartCMakeHTMLCSwiftKotlinObjective-C

Packages published by this repository

Dependencies used

Dependency list 2 items
  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project 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