table_sticky_headers
2.0.5, released 4 years ago by an unverified publisher
A two-dimensional table widget with both sticky headers and a sticky legend cell.
What it does
Allows developers to display a two-dimensional grid of data where both the top row and left column headers remain visible during horizontal and vertical scrolling. The cells are fully customizable using widget builders.
AI-written summary of version 2.0.5, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display tabular data with fixed headers that do not scroll out of view
- You require custom widgets and interactions inside table cells
Skip it when
- You need a simple vertical-only list or standard data table without a sticky top header and sticky left column
Strengths
- Both top and left headers always stay visible while scrolling in any direction
- Fully customizable cell contents, dimensions, alignments, and tap handlers
- Supports custom scroll controllers and initial scroll offsets
Weaknesses
- The project is currently in support-only mode
- Custom scroll controllers require manual disposal by the developer to avoid leaks
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
StickyHeadersTable(
columnsLength: titleColumn.length,
rowsLength: titleRow.length,
columnsTitleBuilder: (i) => Text(titleColumn[i]),
rowsTitleBuilder: (i) => Text(titleRow[i]),
contentCellBuilder: (i, j) => Text(data[i][j]),
legendCell: Text('Sticky Legend'),
)Alternatives
Packages that do the same job and could replace table_sticky_headers.
- flutter_sticky_header
Flutter sliver implementation of sticky headers for CustomScrollView.
91Compare - two_dimensional_scrollables
Widgets for two‑dimensional scrolling like TableView and TreeView
94Compare - flutter_expandable_table
A Flutter widget for creating an expandable table with fixed headers and first columns.
82Compare - alphabet_list_view
A ListView with sticky headers and an iOS-like clickable sidebar.
76Compare