Skip to Content

ValueKey

A key that uses a value for equality comparison. Use this to give elements a stable identity across rebuilds, particularly in lists where items may be reordered.

Constructor

ValueKey

Creates a new value key with the specified identity value.

ParameterDescription
valueThe value to use as the key identity.

Properties

Value

The value used to identify this key.

Last updated on