updateLayout method

void updateLayout(
  1. RenderContext<LoadInstanceContext> context,
  2. R node
)

Implementation

void updateLayout(RenderContext context, R node) {
  var layoutX = node.layoutX;
  var layoutY = node.layoutY;
  var layoutWidth = node.layoutWidth;
  var layoutHeight = node.layoutHeight;
  node.renderViewModel.updateLayout(
    layoutX,
    layoutY,
    layoutWidth,
    layoutHeight,
  );
}