onExtensionEventWithContext property
void Function(ExtensionContext context, String key, String value)?
onExtensionEventWithContext
final
The event callback of the extension.
To listen for events while the extension is running, you need to register this callback.
value
The value of the extension key.key
The key of the extension.- context The context information of the extension, see ExtensionContext.
Implementation
final void Function(ExtensionContext context, String key, String value)?
onExtensionEventWithContext;