Skip to content

[Proposal] Create a Theme configuration for ExpansionTile #97647

@evandrmb

Description

@evandrmb

Use case

Currently, ExpansionTile childrenPadding property is a nullable property that users can set or default to EdgeInsets.zero, if developers want to follow a specific design they need to set childrenPadding every time.

Proposal

Since ExpansionTile is a much more specific widget than ListTile, it should have its own ThemeData so developers could globally set those styling properties. Of course, it could also inherit from ListTileThemeData since there are common properties between them like contentPadding.

Metadata

Metadata

Assignees

Labels

c: new featureNothing broken; request for a new capabilityf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer version

Type

No type

Projects

Status

Done (PR merged)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions