expansion_tile_list
2.1.0, released 5 months ago by monohaus.com
A customizable set of expansion tiles with styling, animations, and expansion control options.
What it does
The expansion_tile_list package provides a container widget for managing a list of ExpansionTile or ExpansionTileItem widgets. It supports various expansion behaviors (accordion modes), custom separators, global trailing animations, programmatic control via controllers, and reordering.
AI-written summary of version 2.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display a list of expandable tiles with advanced control over expansion modes.
- You require customizable gaps, separators, and global animations across multiple expansion tiles.
- You want to programmatically control tile expansion or reorder items in an expandable list.
Skip it when
- You only need a single standard Flutter ExpansionTile without extra list management features.
- You require complex virtualized data grids or heavy custom scrolling architectures not covered by standard lists.
Strengths
- Multiple built-in expansion modes like atMostOne, atLeastOne, exactlyOne, and any.
- Support for custom item builders, separators, gap sizing, and trailing animations.
- Includes drag-and-drop reordering and programmatic controllers.
Weaknesses
- Limited to expansion tile lists and related UI styling patterns.
- Relies on standard Flutter widget trees for layout.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
ExpansionTileList(
itemGapSize: 10.0,
children: <Widget>[
ExpansionTile(
title: Text('Tile 1'),
children: <Widget>[Text('Child 1')],
),
ExpansionTile(
title: Text('Tile 2'),
children: <Widget>[Text('Child 2')],
),
],
);Alternatives
Packages that do the same job and could replace expansion_tile_list.
- animated_segmented_tab_control
A customizable segmented tab control widget with smooth animations.
83Compare - toggle_list
An easy-to-use and highly customizable expandable list widget for your Flutter application.
48Compare - flutter_sliding_toast
Displays customizable sliding and popup toasts with animations, queueing, and stacking modes.
71Compare - country_picker
A Flutter widget to pick a country from a list with optional phone code and search.
78Compare