Skip to content
pubscout

expansion_tile_group

2.3.0, released 2 years ago by congng.dev

Advanced and customizable expansion tile widgets and groups for Flutter.

WASM-ready
$ flutter pub add expansion_tile_group
Source repository

What it does

Provides enhanced ExpansionTile widgets and grouping mechanisms that overcome standard limitations. Includes customizable item UIs like outlined, flat, leaf, and card variants with better control over trailing icons, padding, and states.

AI-written summary of version 2.3.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need advanced control over expansion tile grouping behaviors (e.g., expand only current, expand all).
  • You want to remove default vertical padding or completely eliminate trailing icons in expansion tiles.
  • You require customizable expansion tile styles like outlined, flat, or card.

Skip it when

  • The standard Flutter ExpansionTile meets all your application requirements without extra styling or group logic.

Strengths

  • Supports multiple UI variants like ExpansionTileOutlined, ExpansionTileFlat, ExpansionTileLeaf, and ExpansionTileCard.
  • Allows managing group interactions and behaviors easily.
  • Provides fine-grained control over padding, trailing widgets, and expansion states.

Weaknesses

  • Limited to expanding and grouping UI components, bringing no utility outside of this specific widget domain.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
ExpansionTileGroup(
  children: [
    ExpansionTileItem(
      title: Text('Item 1'),
      children: [
        ListTile(title: Text('Details 1')),
      ],
    ),
  ],
)

Alternatives

Packages that do the same job and could replace expansion_tile_group.