key property

ComponentKey? key
final

A key that can be used to identify this component in the tree.

It can be used to retrieve this component from anywhere in the tree.

Implementation

final ComponentKey? key;