Breadcrumb

class Breadcrumb(    val label: StringResolver,     val icon: DrawableResolver? = null,     val onClicked: () -> Unit = {})

Represents a breadcrumb. Part of NavigationBarViewModel, so that the navigation bar can show a breadcrumb for each panel that the end-user can navigate to.

Constructors

Link copied to clipboard
fun Breadcrumb(    label: StringResolver,     icon: DrawableResolver? = null,     onClicked: () -> Unit = {})

Properties

Link copied to clipboard
val icon: DrawableResolver? = null

The icon for the breadcrumb.

Link copied to clipboard
val label: StringResolver

The label for the breadcrumb.

Link copied to clipboard
val onClicked: () -> Unit

The function to be invoked when the end-user presses this breadcrumb.