ValidationInterceptor<T extends DataGridRow> class

Inheritance

Constructors

ValidationInterceptor({bool canEditCell(double rowId, int columnId)?, bool canSelectRow(double rowId)?, Future<bool> onCellCommit(double rowId, int columnId, dynamic oldValue, dynamic newValue)?})

Properties

canEditCell bool Function(double rowId, int columnId)?
final
canSelectRow bool Function(double rowId)?
final
hashCode int
The hash code for this object.
no setterinherited
onCellCommit Future<bool> Function(double rowId, int columnId, dynamic oldValue, dynamic newValue)?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onAfterStateUpdate(DataGridState<T> newState, DataGridState<T> oldState, DataGridEvent? event) → void
Called after state has been updated.
inherited
onBeforeEvent(DataGridEvent event, DataGridState<T> currentState) DataGridEvent?
Called before an event is processed.
override
onBeforeStateUpdate(DataGridState<T> newState, DataGridState<T> oldState, DataGridEvent? event) DataGridState<T>?
Called after event is processed but before state is updated.
override
onError(Object error, StackTrace stackTrace, DataGridEvent? event) → void
Called when an error occurs during event processing.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited