FdcFieldValueChangedContext<T> class

Read-only context emitted after a field value change has been accepted.

It exposes both logical and raw values together with dataset and host metadata so application code can react consistently across editors and grid cell editing.

Implementers

Constructors

FdcFieldValueChangedContext({BuildContext? buildContext, required FdcDataSet dataSet, required FdcFieldEventHost host, required String fieldName, FdcFieldDef? field, required int rowIndex, int? columnIndex, Object? row, Object? column, T? oldValue, T? value, Object? oldRawValue, Object? rawValue, Object? valueOf(String fieldName)?})
Creates a FdcFieldValueChangedContext.
const

Properties

buildContext BuildContext?
Flutter context of the editor or grid surface that emitted the event.
final
column Object?
Host-specific column object when the event originated from a grid.
final
columnIndex int?
Zero-based column index in the current grid layout.
final
dataSet FdcDataSet
Dataset that owns the field and current edit state.
final
field FdcFieldDef?
Resolved field metadata when available.
final
fieldName String
Name of the dataset field involved in the event.
final
hashCode int
The hash code for this object.
no setterinherited
host FdcFieldEventHost
UI surface that emitted the event.
final
oldRawValue Object?
Previous unformatted source value.
final
oldValue → T?
Logical field value before the proposed or completed change.
final
rawValue Object?
Unformatted source value before display conversion.
final
row Object?
Host-specific row object when the event originated from a grid.
final
rowIndex int
Zero-based row index in the current view.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T?
Accepted logical field value after the change.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
tryValueOf<V>(String fieldName) → V?
Returns the value of fieldName, or null when the field is unavailable.
valueOf<V>(String fieldName) → V?
Returns the typed value of fieldName, throwing if the field is unknown.

Operators

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