ScreenInfo

data class ScreenInfo(val title: String = "", val actions: @Composable RowScope.() -> Unit = {})

The data class containing information to populate the screen's toolbar.

Constructors

Link copied to clipboard
constructor(title: String = "", actions: @Composable RowScope.() -> Unit = {})

Properties

Link copied to clipboard

a composable function that defines the toolbar's content using composables within a RowScope. This allows for dynamic toolbar elements based on the screen. (defaults to empty)

Link copied to clipboard

the title of the screen to be displayed.