Skip to content

Add attribute in SearchableList.expansion to expand the items by default #160

@julien-levarlet

Description

@julien-levarlet

Use case

The current behavior of the expansion constructor, is that the items are not expanded by default and are expanded when the search bar is focused. I would like to have more control on it.

Proposal

I think it would be better to have an attribute to change this behavior and expand by default all the items in the list.
This can be done by setting the initiallyExpanded in the ExpansionTile widget.
I will make a pull request doing that.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions