formField property

Field? get formField

Returns the Field associated with this widget, if any.

Override in subclasses to provide the field reference so that FieldBaseState.didUpdateWidget can refresh stale field data on hot reload.

Implementation

Field? get formField => null;