key property

  1. @override
Key key
read / writeoverride

It's a key that is used to identify the component in the tree.

Implementation

@override
Key key = UniqueKey();