registerOnChange method

void registerOnChange(
  1. ChangeFunction<double?> fn
)
inherited

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

Implementation

void registerOnChange(ChangeFunction<T> fn) {
  onChange = fn;
}