onChanged property

dynamic Function(dynamic value)? onChanged
getter/setter pair

Callback function invoked when the field value changes.

This function is called whenever the user interacts with the field or when the value is programmatically changed through the value setter.

Implementation

Function(dynamic value)? onChanged;