grid_sheet library
Classes
- ASTNode
- Base class for all nodes in a formula Abstract Syntax Tree (AST).
- BinaryOpNode
- Represents a binary operation in a formula AST.
- CellAddress
- Identifies a cell location in the grid by row and column index.
- CellChangeRecord
- CellRefNode
- Represents a single cell or column reference in a formula AST.
- CircularReferenceDetector
- Detects circular dependencies between formula cells.
- DependencyGraph
- Manages dependencies between formula cells.
- FormulaParser
- Parses a formula string into an Abstract Syntax Tree (AST).
- FunctionNode
- Represents a function call in a formula.
- GridSheet
- GridSheetAutoFillConfiguration
- Configuration class for autofill behavior in GridSheet cells.
- GridSheetAutoFillEngine
- Pattern detector for Excel-style auto-fill Detects numeric series, dates, text patterns, and generates fill values
- GridSheetCell
- Immutable identifier for a single cell using row and column keys.
- GridSheetCellContext
- Context object passed to cell builder callbacks.
- GridSheetCellContextInfo
- Context information provided when right-clicking on a cell.
- GridSheetCellSelectionState
- Snapshot of selection state for a cell.
- GridSheetCellUpdate
- Describes a single cell update operation.
- GridSheetColumn
- Metadata describing a single column in a GridSheet.
- GridSheetColumnContextInfo
- Context information provided when right-clicking on a column header.
- GridSheetColumnGroups
- Precomputed groupings of columns for efficient grid rendering.
- GridSheetConditionalFormatRule
- A declarative rule for conditional formatting of rows, columns, or cells.
- GridSheetConstants
- Global constants used throughout GridSheet.
- GridSheetContextMenuInfo
- Base context information provided to right-click context menu handlers.
- GridSheetDynamicTableGeneration
- Configuration model used to dynamically generate table columns and rows based on the provided counts.
- GridSheetEvaluatedFormatCache
- Cache object storing evaluated conditional formatting results for a cell.
- GridSheetExpressionEvaluator
- Custom expression evaluator with null-safe evaluation for GridSheet.
- GridSheetFormulaCell
- Stores metadata and evaluation state for a formula cell.
- GridSheetFormulaEngine
- Core engine responsible for parsing, evaluating, and updating formulas in a grid sheet.
- GridSheetLayoutConfiguration
- Configuration for behavioral and layout aspects of a GridSheet.
- GridSheetManager
- Manages the data model and view state for a grid sheet.
- GridSheetNoScrollbarBehavior
- Custom scroll behavior that hides scrollbars.
- GridSheetPagination
- A reusable pagination widget that integrates with GridSheetManager.
- GridSheetPaginationState
- State for GridSheetPagination.
- GridSheetRow
- Model representing a single data row in a GridSheet.
- GridSheetRowContextInfo
- Context information provided when right-clicking on a row (index column).
- GridSheetScrollBarConfiguration
- Scrollbar appearance configuration for GridSheet.
- GridSheetSnapshot
- Immutable snapshot of grid state for undo/redo operations.
- GridSheetSorter
- Default sorting logic for GridSheet columns.
- GridSheetSortKey
- Sort key defining sort criteria for a single column with priority.
- GridSheetSortState
- Represents the active sort state for a single column.
- GridSheetState
- GridSheetStyleConfiguration
- Visual styling configuration for a GridSheet.
- IGridSheetCustomCellWidgetBuilder
- Interface for rendering all cell types in a GridSheet.
- LiteralNode
- Represents a literal value in a formula.
- NegativeKeyGenerator
- Generator for unique temporary keys using negative integers.
- PaginationConfiguration
- Visual styling configuration for GridSheetPagination.
- RangeRefNode
- Represents a range reference in a formula AST.
- Token
- Represents a lexical token in a formula expression.
Enums
- FormulaErrorType
- GridSheetAggregation
- GridSheetCellKind
- Identifies the type of cell being rendered in the grid.
- GridSheetCellWidgetType
- Widget type for rendering editable cells.
- GridSheetColumnType
- Data type classification for column values.
- GridSheetContextMenuTarget
- Target element type for context menu interactions.
- GridSheetFillDirection
- GridSheetFilterComparison
- Filter comparison mode for text matching.
- GridSheetFilterPosition
- GridSheetFormatScope
- Scope defining where conditional formatting is applied.
- GridSheetRowState
- Change tracking state for grid rows.
- GridSheetSortDirection
- Direction for sorting column data.
- TokenType
Extensions
-
GridSheetColumnListHelper
on List<
GridSheetColumn> - Convenience methods for working with lists of GridSheetColumn.
- GridSheetgridManagerHelpers on GridSheetManager
- Extension methods providing convenience helpers for GridSheetManager.
- GridSheetRowExtension on GridSheetRow
- Extension providing access to row properties for mixins.
-
GridSheetRowHelper
on List<
GridSheetRow> - Convenience methods for working with lists of GridSheetRow.
Typedefs
- CellValueChanged = void Function(int rowIndex, int colIndex, dynamic value)
- Callback signature for cell value change notifications.
- GridSheetCustomCellWidgetBuilder = Widget? Function(GridSheetCellContext cell)
- Signature for custom cell builder functions.
- GridSheetFilterWrapper = Widget Function(BuildContext context, Widget child, bool isFrozen)
- A function type used to wrap a filter row widget in a grid sheet.
- GridSheetHeaderWrapper = Widget Function(BuildContext context, Widget child, bool isFrozen)
- A function type used to wrap the header row in a grid sheet.
- GridSheetRowStateColorBuilder = Color Function(GridSheetRow row)
- Callback signature for customizing row state indicator colors.
- GridSheetRowStateIconBuilder = Icon Function(GridSheetRow row)
- Callback signature for customizing row state indicator icons.
- GridSheetRowWrapper = Widget Function(BuildContext context, Widget child, bool isFrozen, bool isHovered)
- A function type used to wrap a row widget in a grid sheet.
- GridSheetValueComparator = int Function(dynamic a, dynamic b, {required GridSheetColumn column, required GridSheetRow rowA, required GridSheetRow rowB})
- Signature for custom comparison functions used in sorting.
Exceptions / Errors
- FormulaError
- Represents an error that occurs during formula parsing or evaluation.