flutter_expandable_table
2.3.0, released 3 weeks ago by insideapp.it
A Flutter widget for creating an expandable table with fixed headers and first columns.
What it does
Provides an ExpandableTable widget that supports nested expandable rows and columns with vertical and horizontal scrolling. It keeps the header and first column fixed while allowing custom cell heights, widths, and animations.
AI-written summary of version 2.3.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a hierarchical or tree-structured table data view with expandable rows and columns.
- You need fixed headers and a fixed first column alongside vertical and horizontal scrolling.
Skip it when
- You only need a standard, flat grid or data table without expandable nested rows and columns.
- You require complex chart visualisations rather than tabular text/widget cells.
Strengths
- Supports nested rows and columns grouped in expandable structures.
- Fixed header and first column with vertical and horizontal scrolling.
- External controller support for dynamically managing rows and columns.
Weaknesses
- Limited to table layouts with expandable rows and columns.
- Not documented for database ORM or state management patterns beyond basic controller management.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
return ExpandableTable(
firstHeaderCell: ExpandableTableCell(
child: Text('Simple\nTable'),
),
headers: headers,
rows: rows,
);Alternatives
Packages that do the same job and could replace flutter_expandable_table.
- data_table_2
In-place substitute for Flutter's DataTable and PaginatedDataTable with sticky headers.
83Compare - flutter_markdown_plus
A Markdown renderer widget for Flutter to display rich text from plain text data.
77Compare - flutter_table_plus
A customizable, type-safe Flutter table widget with scrolling, sorting, and cell editing.
77Compare - expandable_datatable
Flutter data table with expandable rows for hidden columns.
61Compare
Works with
Packages commonly used together with flutter_expandable_table: ones it builds on, ones built on it, and its own family.
- providerflutter_expandable_table depends on itA lightweight wrapper around InheritedWidget for state management
- linked_scroll_controllerflutter_expandable_table depends on itSynchronizes scroll positions of multiple scrollable widgets.
- flutter_scroll_shadowflutter_expandable_table depends on itAdds customizable scroll shadows to scrollable Flutter children.