respond method

void respond({
  1. required bool allowPlatformDefault,
})
inherited

Sends a response to the native embedder for the PointerSignalEvent.

The parameter allowPlatformDefault allows the platform to perform the default action associated with the native event when it's set to true.

This method can be called any number of times, but once allowPlatformDefault is set to true, it can't be set to false again.

The implementation of this method is configured through the onRespond parameter of the PointerSignalEvent constructor.

See also RespondPointerEventCallback.

Implementation

void respond({
  required bool allowPlatformDefault,
}) {}