calculateNodeLayout method
Implementation
int calculateNodeLayout(
int instanceId,
int nodeId,
FlexLayoutParams layoutParams,
) {
LogUtils.dBridge(
'ID:$nodeId, call calculate node layout, page:$instanceId, parent layout:$layoutParams',
);
if (_isBridgeInit) {
return _renderContext.virtualNodeManager.measure(
instanceId,
nodeId,
layoutParams,
);
}
return layoutParams.defaultOutput();
}