lazy_data_table 0.1.1 copy "lazy_data_table: ^0.1.1" to clipboard
lazy_data_table: ^0.1.1 copied to clipboard

outdated

A Flutter data table with (optional) sticky row and/or column headers that loads the contents lazily.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:lazy_data_table/lazy_data_table.dart';

void main() {
  runApp(
    MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: Text("Example table")),
        body: LazyDataTable(
          rows: 20,
          columns: 20,
          cellHeight: 50,
          cellWidth: 50,
          columnHeaderHeight: 75,
          rowHeaderWidth: 75,
          columnHeaderBuilder: (i) => Text("Col:${i + 1}"),
          rowHeaderBuilder: (i) => Text("Row:${i + 1}"),
          dataCellBuilder: (i, j) => Text("Cell:$i,$j"),
          cornerWidget: Text("Corner"),
        ),
      ),
    ),
  );
}
66
likes
0
pub points
85%
popularity

Publisher

unverified uploader

A Flutter data table with (optional) sticky row and/or column headers that loads the contents lazily.

Repository (GitLab)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on lazy_data_table