Creates a KeyedSubtree for child with a key that's based on the child's existing key or childIndex.
KeyedSubtree.wrap(this.child, int childIndex) : super(key: ValueKey<Object>(child.key ?? childIndex));