registerOnTouched method

  1. @override
void registerOnTouched (
  1. TouchFunction fn
)
override

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

Implementation

@override
void registerOnTouched(TouchFunction fn) {
  onModelTouched = fn;
}