setValue method
void
setValue(
- dynamic value
Directly sets the field value and updates the UI widget.
Use this method when you need to set the value programmatically. This will update both the internal value and the displayed widget.
Implementation
void setValue(dynamic value) {
_value = value;
_updateWidgetValue(value);
}