PageChrome

class PageChrome(val title: @Composable () -> String, val actions: @Composable RowScope.() -> Unit? = null, val key: Any? = null, val topBarScrollMode: TopBarScrollMode = TopBarScrollMode.Default)(source)

A page's title and app bar actions, attached to its entry so a scene that shows several pages at once can draw one app bar for all of them.

Constructors

Link copied to clipboard
constructor(title: @Composable () -> String, actions: @Composable RowScope.() -> Unit? = null, key: Any? = null, topBarScrollMode: TopBarScrollMode = TopBarScrollMode.Default)

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
val key: Any?

The page's key, to tell whether it stands in for a tab beside the navigation.

Link copied to clipboard
val title: @Composable () -> String
Link copied to clipboard

How the bar answers the page's scrolling; a static page does not tint the bar across both panes.

Functions

Link copied to clipboard