Skip to content

Allow modification of ListTile's horizontalTitleGap #47647

@xilibro

Description

@xilibro

Use case

This field is a const in ListTile:

 // The horizontal gap between the titles and the leading/trailing widgets
  static const double _horizontalTitleGap = 16.0;

Proposal

But maybe i do not need this gap, or need it smaller. Can you make this field as a property that can be changed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: new featureNothing broken; request for a new capabilityf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions