Package selection guidance compiled from public package information, community data, and project usage.
A Flutter widget designed to create tables with fixed headers and first columns, enabling seamless vertical and horizontal scrolling. It supports expandable rows for detailed data viewing while maintaining layout stability across platforms. Ideal for displaying structured data in a responsive and user-friendly manner. The package is compatible with Android, iOS, Web, macOS, Windows, and Linux, making it suitable for cross-platform applications.
Use cases
Displaying large datasets with fixed headers
Creating interactive tables with expandable details
Building admin dashboards with structured data
Showing hierarchical or nested information
Implementing responsive data grids on multiple platforms
Key features
Fixed header and first column
Expandable table rows
Cross-platform compatibility
Smooth scrolling support
Customizable styling options
Responsive layout design
Suitable for
Data-heavy applications
Admin panels and dashboards
Reporting tools
Mobile and web apps requiring structured data display
Developers needing reusable table components
Considerations
May require additional styling for complex layouts
Performance impact with very large datasets
Limited built-in pagination or filtering
Best suited for moderate-sized data sets
Requires careful handling of expandable row state management
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
flutter_expandable_table
Expandable Table
ExpandableTable is a widget for Flutter that create a Table with header and first column fixed. You can create a nested Rows/Columns grouped in expandable Row/Column
ExpandableTable
Features
Header and first column fixed
Supports vertical and horizontal scroll
Customizable animation Duration and Curve
Specific height definition for each single row
Specific width definition for each single column
Access to cell address when building cell content
Access to the parent rows and columns of the cell while building the contents of a cell
firstHeaderCell: Is the top left cell, i.e. the first header cell.
headers: contains the list of all column headers, each one of these can contain a list of further headers, this allows you to create nested and expandable columns.
rows: contains the list of all the rows of the table, each of these can contain a list of further rows, this allows you to create nested and expandable rows.
headerHeight: is the height of each column header, i.e. the first row.
firstColumnWidth: determines first Column width size.
defaultsColumnWidth: defines the default width of all columns, it is possible to redefine it for each individual column.
defaultsRowHeight: defines the default height of all rows, it is possible to redefine it for every single row.
duration: determines duration rendered animation of Rows/Columns expansion.
curve: determines rendered curve animation of Rows/Columns expansion.
scrollShadowDuration: determines duration rendered animation of shadows.
scrollShadowFadeInCurve: determines rendered curve animation of shadows appearance.
scrollShadowFadeOutCurve: determines rendered curve animation of shadows disappearance.
scrollShadowColor: determines rendered color of shadows.
scrollShadowSize: determines size of shadows.
visibleScrollbar: determines visibility of horizontal and vertical scrollbars.
trackVisibilityScrollbar: indicates that the scrollbar track should be visible.
thumbVisibilityScrollbar: indicates that the scrollbar thumb should be visible, even when a scroll is not underway.
expanded: indicates that the table expands, so it fills the available space along the horizontal and vertical axes.