sendGestureEvent method
Dispatch UI component event, such as click, doubleClick.
Implementation
Future<dynamic> sendGestureEvent(
int rootId,
int id,
String event,
Object params,
) async {
if (!_isBridgeInit) {
return false;
}
await VoltronRenderApi.callNativeEvent(
_renderContext.renderManager.nativeRenderManagerId,
rootId,
id,
event.toLowerCase(),
true,
true,
params.toOriginObject(),
);
}