Skip to content
pubscout

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.

WASM-ready
$ flutter pub add flutter_expandable_table
Source repository

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.

Works with

Packages commonly used together with flutter_expandable_table: ones it builds on, ones built on it, and its own family.