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