updateNodeSize static method

Future updateNodeSize(
  1. int renderManagerId,
  2. int rootId,
  3. int nodeId,
  4. double width,
  5. double height,
)

Implementation

static Future updateNodeSize(
  int renderManagerId,
  int rootId,
  int nodeId,
  double width,
  double height,
) async {
  var stopwatch = Stopwatch();
  stopwatch.start();
  _RenderBridgeFFIManager.instance.updateNodeSize(renderManagerId, rootId, nodeId, width, height);
  stopwatch.stop();
  LogUtils.profile("update node size cost", stopwatch.elapsedMilliseconds);
}