Search packages, repositories and app categories

expansion_tile_group cover
Package detailsv2.3.0

expansion_tile_group

Overcome the limitations of the standard ExpansionTile widget by incorporating highly customizable widgets that fully extend its functionality. And more awesome features.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
5.5K
Likes
102
Pub points
160

Install package

flutter pub add expansion_tile_group

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The expansion_tile_group package enhances the standard ExpansionTile widget with advanced customization and functionality. It allows developers to manage multiple expansion tiles with ease, supporting features like single or multiple open states, animated transitions, and customizable headers and content. Ideal for creating complex collapsible interfaces such as FAQs, settings panels, or accordions. The package is designed for cross-platform use and integrates seamlessly into Flutter applications.

Use cases

  • Creating interactive FAQs
  • Building collapsible settings menus
  • Designing accordion-style interfaces
  • Implementing nested expandable lists
  • Developing responsive UIs for web and mobile

Key features

  • Support for single or multiple open tiles
  • Customizable header and content widgets
  • Smooth animations for expansion/collapse
  • Cross-platform compatibility
  • Easy integration with existing Flutter code
  • Configurable transition durations

Suitable for

  • Developers building complex expandable UIs
  • Apps requiring dynamic accordion behavior
  • Projects needing consistent expansion patterns across platforms
  • Teams prioritizing reusable and maintainable code
  • Flutter beginners learning about state management in lists

Considerations

  • May require additional state management for complex logic
  • Performance impact with large numbers of tiles
  • Limited documentation beyond basic usage
  • Not ideal for simple one-off expansion needs
  • Requires understanding of Flutter's widget tree and state handling

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

expansion_tile_group

Enhance your Flutter apps with this advanced ExpansionTile package! This package overcomes the limitations of the standard ExpansionTile widget by incorporating highly customizable widgets that fully extends its functionality. These widgets can be seamlessly grouped and their interactions easily managed, offering you unparalleled control and flexibility.

Overview

Check out Example Or our Documentation

fantasy_demo_gif

Image Image Image Image Image Image

Check out Example Or our Documentation

Migrate with CHANGE LOG

Features

Item features:

  • ExpansionTileItem fully extends standard of ExpansionTile functionality.
  • Supported many commonly types of ExpansionTileItem UIs: ExpansionTileOutlined, ExpansionTileFlat, ExpansionTileLeaf, ExpansionTileCard.
  • Can easily control behaviors of an ExpansionTileItem from anywhere (expand or collapse from anywhere).
  • Can easily custom or add decoration into an ExpansionTileItem with Border, BorderRadius, Shadow, or BoxDecoration and more.
  • Can prevent an ExpansionTileItem expand until a task is completed.
  • Can remove completely the trailing included: area, arrow icon that ExpansionTile can NOT. With that the title can be extended the fully width.
  • Can remove completely default title's vertical padding of an ExpansionTile.
  • Can hide the subtitle of an ExpansionTileItem whenever it expanded.
  • Can change the default Trailing Icon to a custom widget with keeping default rotate animation.

Group features:

  • Can group ExpansionTileItems together and manage them.
  • Supporting type's behaviors of interactions of items in group: ExpandOnlyCurrent, ExpandAll, CollapseAll, ExpandAllOrCollapseAll, expandAlwaysCurrent.
  • Can listen to behaviors' changed of items in the group.
  • Can add the space between items in the group.

Documentation

See the API documentation for details on the following topics:

FAQ

You can read the FAQ here: FAQ

Sponsoring

If this package or any other package I created is helping you, please consider sponsoring me so that I can take time to update this package.

Buy Me A Coffee

OR

7ezgif-5-20a8a8001a

Contributions

Feel free to contribute to this project. Check more Contributing guide

I'd really appreciate it if you know any common ExpansionTile UIs and give the PR.

If you find a bug or want a feature, but don't know how to fix/implement it, please fill an issue.

If you fixed a bug or implemented a feature, please send a pull request.

Visitors Count

Visitor Count

Categories

Source repository

Projects using this package

No data available yet.