value property

dynamic get value

Gets the current field value.

Returns the raw data value stored in this field, which may be of any type depending on the field configuration.

Implementation

get value => _value;
set value (dynamic value)

Sets the field value and triggers the onChanged callback if defined.

This setter automatically notifies listeners when the value changes, enabling reactive form behavior and validation triggers.

Implementation

set value(dynamic value) {
  _value = value;
  if (onChanged != null) {
    onChanged!(value);
  }
}