horizontal_data_table
4.3.4, released 10 months ago by an unverified publisher
A horizontal data table with a fixed column on the left-hand side.
WASM-ready
What it does
Creates a horizontal data table widget that supports a fixed first column (or right-side column in RTL mode), fixed headers and footers, scroll synchronization, and optional pull-to-refresh/load features.
AI-written summary of version 4.3.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display tabular data with a locked/fixed first column while scrolling horizontally.
- You require fixed headers or footers alongside a scrollable grid of data.
- You need built-in pull-to-refresh or pull-to-load functionality within a horizontal table.
Skip it when
- You only need a basic vertical-only list or standard Flutter DataTable without horizontal fixed columns.
- You require complex spreadsheet-like editing features built-in out of the box.
Strengths
- Provides fixed left/right column capability with synchronized scrolling.
- Supports pull-to-refresh and pull-to-load new data features.
- Allows both index-based builders or direct lists of child widgets.
Weaknesses
- Pull-to-refresh implementation requires matching indicator widgets and specific controllers to synchronize properly.
- Customizing scroll physics can sometimes conflict with built-in refresh actions.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
HorizontalDataTable(
leftHandSideColumnWidth: 100,
rightHandSideColumnWidth: 600,
isFixedHeader: true,
headerWidgets: _getTitleWidget(),
leftSideItemBuilder: _generateFirstColumnRow,
rightSideItemBuilder: _generateRightHandSideColumnRow,
itemCount: widget.user.userInfo.length,
)Works with
Packages commonly used together with horizontal_data_table: ones it builds on, ones built on it, and its own family.