getNodeFirstChild method

RenderNode? getNodeFirstChild(
  1. int? instanceId,
  2. int? nodeId
)

Implementation

RenderNode? getNodeFirstChild(int? instanceId, int? nodeId) {
  final node = getNode(instanceId, nodeId);
  if (node == null || node.children.isEmpty) {
    return null;
  }

  return node.children[0];
}