Skip to content
pubscout

worksheet

3.9.2, released 8 months ago by hornmicro.com

High-performance spreadsheet widget supporting large datasets, zoom, and tile rendering.

WASM-ready
$ flutter pub add worksheet
Source repository

What it does

A Flutter spreadsheet widget that displays and edits tabular data using GPU-optimized tile-based rendering. It supports large datasets, 10%-400% zoom, cell merging, formulas, and keyboard navigation.

AI-written summary of version 3.9.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display and edit large spreadsheet-style tabular data at 60fps.
  • Your application requires Excel-like features such as zooming, cell selection, and formulas.

Skip it when

  • You only need a basic, simple data table without heavy spreadsheet capabilities.
  • You do not require high-performance tile rendering or sparse dataset memory management.

Strengths

  • Maintains 60fps performance with large datasets through GPU-optimized tile-based rendering.
  • Sparse storage handles hundreds of thousands of rows efficiently.
  • Built-in support for zoom, cell merging, rich text, and extensive keyboard navigation.

Weaknesses

  • Specialized widget with a very specific spreadsheet domain, not suited for general layout tasks.
  • Requires learning its specific data and controller APIs.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2

not documented

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

void main() => runApp(MaterialApp(home: MySpreadsheet()));

class MySpreadsheet extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    final data = SparseWorksheetData(rowCount: 100, columnCount: 10, cells: {
        (0, 0): 'Name'.cell,
        (0, 1): 'Amount'.cell,
        (1, 0): 'Apples'.cell,
        (1, 1): 42.cell,
        (2, 1): '=2+42'.formula,
    });

    return Scaffold(
      body: WorksheetTheme(
        data: const WorksheetThemeData(),
        child: Worksheet(
          data: data,
          rowCount: 100,
          columnCount: 10,
        ),
      ),
    );
  }
}

Alternatives

Packages that do the same job and could replace worksheet.

  • flutter_math_fork

    Fast and high-quality TeX math equation rendering with pure Dart and Flutter.

  • ditredi

    Displays large 3D datasets and meshes on a transparent canvas in Flutter.

  • editable

    A customizable and editable data table and spreadsheet widget for Flutter.

  • animated_sidebar

    A collapsible sidebar widget optimized for web and desktop applications.

Works with

Packages commonly used together with worksheet: ones it builds on, ones built on it, and its own family.