Skip to content

Proposal to add decoration / border argument to ExpansionTile to control borders #85901

@Ahmadre

Description

@Ahmadre

Use case

I wanted to create this Design:
Bildschirmfoto 2021-07-05 um 13 37 30

But when I use ExpansionTile this is happening:

Bildschirmfoto 2021-07-05 um 13 35 59

There're borders on top and bottom.

After I had a look into the ExpansionTile widget, I saw that these borders cannot be controlled outside of the ExpansionTile:

Bildschirmfoto 2021-07-05 um 13 39 42

It's only an internal variable, but I want to control the border to disappear, when the ExpansionTile is expanded.

Proposal

It would be great if there would a decoration or border argument to pass into the ExpansionTile

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterf: 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

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions