key property

Key? key
final

Keys help Rad identify which widgets have changed, are added, or are removed when a widget has multiple sibling widgets.

Keys must be unique amongst the RenderElements with the same parent.

Unlike flutter, keys only make sense in the context of the surrounding array of widgets. Keys should be given to the widgets inside the array to give the widgets a stable identity.

Implementation

final Key? key;