s_spreadsheet/src/s_spreadsheet library

Classes

SSpreadsheet
A reusable, spreadsheet-like 2D table composed of:
SSpreadsheetHorizontalMetrics
Immutable snapshot of horizontal scroll state for a spreadsheet.
SSpreadsheetHorizontalScrollButtons
Ready-to-use horizontal left/right scroll buttons bound to an SSpreadsheetHorizontalSyncController.
SSpreadsheetHorizontalSyncController
Shared horizontal synchronization state for SSpreadsheet.

Typedefs

SSpreadsheetCellBuilder = Widget Function(BuildContext context, int rowIndex, int columnIndex)
Builds a body cell for rowIndex and columnIndex.
SSpreadsheetColumnHeaderBuilder = Widget Function(BuildContext context, int columnIndex)
Builds a fixed column-header cell for columnIndex.
SSpreadsheetColumnWidthBuilder = double Function(int columnIndex)
Resolves a column width for columnIndex.
SSpreadsheetHorizontalMetricsChanged = void Function(double offset, double maxScrollExtent, ScrollController controller)
Reports synchronized horizontal scroll metrics.
SSpreadsheetRowHeaderBuilder = Widget Function(BuildContext context, int rowIndex)
Builds a fixed row-header cell for rowIndex.
SSpreadsheetRowHeightBuilder = double Function(int rowIndex)
Resolves a row height for rowIndex.
SSpreadsheetScrollButtonBuilder = Widget Function(BuildContext context, {required bool isEnabled, required bool isLeft, required VoidCallback onTap})
Builder used by SSpreadsheetHorizontalScrollButtons to render each arrow button.