sp_lazy_data_table 0.0.2 copy "sp_lazy_data_table: ^0.0.2" to clipboard
sp_lazy_data_table: ^0.0.2 copied to clipboard

sps lazy data table

customized lazy_data_table #

A Flutter widget data table that can be loaded lazily. The table also has a column header row and a row header column that will stay in view. (This widget is still in development, and may not work 100%)

This widget is based on (lazy_data_table) made by Naomi, so credits to him.

Preview Modal

Features #

  • Scrollable when items overflow
  • Column and row headers stay in view
  • Items are loaded lazily
  • Custom size for individual columns or rows.
  • Themable

Getting started #

To use this widget, add sp_lazy_data_table: ^last_version to your dependencies in pubspec.yaml

Example #

to /example folder.

    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")),
    )

Additional information #

  • Thanks Naomi
  • SPISOFT
2
likes
135
points
28
downloads

Publisher

unverified uploader

Weekly Downloads

sps lazy data table

Homepage

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on sp_lazy_data_table