Skip to content
pubscout

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.

WASM-ready
$ flutter pub add lazy_data_table

What 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.