CellValueChange class

Notification that a single cell value was persisted in place.

Emitted on DataGridController.cellValueChanges when UpdateCellEvent or CommitCellEditEvent runs without replacing the row map.

Constructors

CellValueChange({required double rowId, required int columnId, required dynamic value, CellValueChangeSource source = CellValueChangeSource.programmatic})
Creates a CellValueChange for the cell at rowId / columnId.
const

Properties

cellId → String
Composite cell id ("${rowId}_${columnId}").
no setter
columnId → int
Column identifier of the updated cell.
final
forcesRefresh → bool
Whether candidate cells must rebuild without consulting the value diff.
no setter
hashCode → int
The hash code for this object.
no setteroverride
rowId → double
Row identifier of the updated cell.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → CellValueChangeSource
Whether the change came from programmatic update or edit commit.
final
value → dynamic
Value written by the column's DataGridColumn.cellValueSetter.
final

Methods

affectsCell(double rowId, int columnId) → bool
Whether this change applies to the cell at rowId / columnId.
affectsRow(double rowId) → bool
Whether this change could affect any cell of rowId.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override