Holds a Entry class, metadata, and content for that key

Parameters
<T : Any>

the type of the key for this NavEntry

Summary

Public constructors

<T : Any> EntryProvider(
    key: T,
    contentKey: Any,
    metadata: Map<StringAny>,
    content: @Composable (T) -> Unit
)
Cmn

Public properties

@Composable (T) -> Unit

content for this entry to be displayed when this entry is active

Cmn
Any

A unique, stable id that uniquely identifies the content of this NavEntry.

Cmn
T

key for this entry

Cmn
Map<StringAny>

provides information to the display

Cmn

Public constructors

EntryProvider

<T : Any> EntryProvider(
    key: T,
    contentKey: Any,
    metadata: Map<StringAny>,
    content: @Composable (T) -> Unit
)
Parameters
<T : Any>

the type of the key for this NavEntry

key: T

key for this entry

contentKey: Any

A unique, stable id that uniquely identifies the content of this NavEntry. To maximize stability, it should ge derived from the key. The contentKey type must be saveable (i.e. on Android, it should be saveable via Android). Defaults to key.toString().

metadata: Map<StringAny>

provides information to the display

content: @Composable (T) -> Unit

content for this entry to be displayed when this entry is active

Public properties

content

val content: @Composable (T) -> Unit

content for this entry to be displayed when this entry is active

contentKey

val contentKeyAny

A unique, stable id that uniquely identifies the content of this NavEntry. To maximize stability, it should ge derived from the key. The contentKey type must be saveable (i.e. on Android, it should be saveable via Android). Defaults to key.toString().

key

val key: T

key for this entry

metadata

val metadataMap<StringAny>

provides information to the display