Link

class Link(val key: NavKey, @StringRes val label: Int, val icon: ToolkitIcon, @StringRes val shortLabel: Int? = null) : DrawerEntry(source)

Constructors

Link copied to clipboard
constructor(key: NavKey, @StringRes label: Int, icon: ToolkitIcon, @StringRes shortLabel: Int? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val key: NavKey
Link copied to clipboard
val label: Int
Link copied to clipboard
open override val shortLabel: Int?

A shorter label for the collapsed rail, where the full one would be cut off.