key

abstract val key: String(source)

A value that identifies this record uniquely, even if it shares the same screen with another record. This key may be used by BackStackRecordLocalProviders to associate presentation data with a record across composition recreation.

key MUST NOT change for the life of the record.