lazy_data_table
0.3.1, released 5 years ago by an unverified publisher
A Flutter data table with sticky headers that loads contents lazily.
$ flutter pub add lazy_data_tableWhat it does
A Flutter data table widget with optional sticky row and/or column headers that loads contents lazily. It supports scrollable overflowing items, custom sizing for individual columns or rows, and theming.
AI-written summary of version 0.3.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display a large grid or table of data that should be loaded lazily
- You require sticky row and/or column headers that stay in view while scrolling
Skip it when
- You need a standard simple material data table without lazy loading or complex sticky header grids
Strengths
- Lazy loading of items for performance
- Sticky row and column headers that stay in view
- Custom sizes for individual columns or rows
Weaknesses
- Widget is still in development and may not work 100%
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
not documented
LazyDataTable(
rows: 100,
columns: 100,
tableDimensions: LazyDataTableDimensions(
cellHeight: 50,
cellWidth: 100,
topHeaderHeight: 50,
leftHeaderWidth: 75,
),
topHeaderBuilder: (i) => Center(child: Text("Column: ${i + 1}")),
leftHeaderBuilder: (i) => Center(child: Text("Row: ${i + 1}")),
dataCellBuilder: (i, j) => Center(child: Text("Cell: $i, $j")),
topLeftCornerWidget: Center(child: Text("Corner")),
)Alternatives
Packages that do the same job and could replace lazy_data_table.
- flutter_sticky_header
Flutter sliver implementation of sticky headers for CustomScrollView.
91Compare - flutter_expandable_table
A Flutter widget for creating an expandable table with fixed headers and first columns.
82Compare - trina_grid
A powerful data grid widget for Flutter that supports keyboard navigation, editing, and sticky columns.
91Compare - flutter_table_plus
A customizable, type-safe Flutter table widget with scrolling, sorting, and cell editing.
77Compare