generateGlobalKey
fun generateGlobalKey(parentContext: ComponentContext, parentComponent: Component?, childComponent: Component): GlobalKey
Generate a global key for the given component that is unique among all of this component's children of the same type. If a manual key has been set on the child component using the .key() method, return the manual key.
Return
a unique global key for this component relative to its siblings.
Parameters
parentComponent
parent component within the layout context
childComponent
child component with the parent context