registerOnChange method

  1. @override
void registerOnChange(
  1. ChangeFunction<String> fn
)

Set the function to be called when the control receives a change event.

Implementation

@override
void registerOnChange(ChangeFunction<String> fn) {
  this.onChange = fn;
}