stopPropagation method
void
stopPropagation()
Stops propagation (bubbling) of this event up the DOM tree.
Sets propagationStopped to true and invokes the underlying DOM event's
stopPropagation() when running in a browser environment.
Implementation
void stopPropagation() {
_propagationStopped = true;
_stopPropagationFn?.call();
}