FdcLookupContext class

Shared context passed to grid and standalone editor lookup callbacks.

The context intentionally exposes only neutral lookup state. It does not expose grid/editor-specific coordinates so the same callback can be reused from a grid column or a standalone data-aware editor.

Constructors

FdcLookupContext({required BuildContext buildContext, required FdcDataSet dataSet, required String fieldName, required String? lookupText, required FdcLookupMode lookupMode, Object? valueOf(String fieldName)?})
Creates a FdcLookupContext.

Properties

buildContext → BuildContext
Flutter context of the editor or grid surface invoking the lookup.
final
dataSet → FdcDataSet
Dataset whose current record is being edited.
final
fieldName → String
Name of the field that initiated the lookup.
final
hashCode → int
The hash code for this object.
no setterinherited
lookupMode → FdcLookupMode
Whether the lookup was invoked for interactive search UI or silent resolve-on-commit behavior.
final
lookupText → String?
Text used as lookup input.
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
toString() → String
A string representation of this object.
inherited
tryValueOf<V>(String fieldName) → V?
Returns the current value of fieldName, or null if unavailable.
valueOf<V>(String fieldName) → V?
Returns the current value of fieldName.

Operators

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