spreadsheet_table 1.0.0 copy "spreadsheet_table: ^1.0.0" to clipboard
spreadsheet_table: ^1.0.0 copied to clipboard

A spreadsheet like table with scrolling on both axis and freezed headers.

example/lib/main.dart

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

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        appBar: AppBar(),
        body: SpreadsheetTable(
          cellBuilder: (_, int row, int col) =>
              Center(child: Text('Cell $row/$col')),
          legendBuilder: (_) => Center(child: Text('Legend')),
          rowHeaderBuilder: (_, index) => Center(child: Text('Row $index')),
          colHeaderBuilder: (_, index) => Center(child: Text('Col $index')),
          rowsCount: 100,
          colCount: 15,
        ),
      ),
    );
  }
}
14
likes
150
points
82
downloads

Publisher

verified publisherfourmanalex.com

Weekly Downloads

A spreadsheet like table with scrolling on both axis and freezed headers.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, linked_scroll_controller

More

Packages that depend on spreadsheet_table