Creates a RefNode connecting ref to the primary element emitted by child.
ref
child
const RefNode(this.ref, this.child);