preventDefault method

void preventDefault()

Prevent Default action for occuring. When the FocusMoveEvent is created from a KeyboardEvent, this method delegates to the preventDefault method of the KeyboardEvent, allowing consumers of this event to control the underlying DOM event.

Implementation

void preventDefault() {
  if (_preventDefaultDelegate != null) _preventDefaultDelegate!();
}