getChild method

Node? getChild(
  1. int index
)

Find a root child node in the scene.

Implementation

fb.Node? getChild(int index) {
  int? childIndex = children?[index];
  if (childIndex == null) {
    return null;
  }
  return nodes?[childIndex];
}