TopAppBarTileSchema

@Serializable
@SerialName(value = "TopAppBar")
data class TopAppBarTileSchema(val id: String, val events: SerializableImmutableList<EventSchema>?, val style: StyleSchema, val searchableTerms: SerializableImmutableList<String>?, val visibility: TileSchema.Visibility, val title: TileSchema, val navigationIcon: TileSchema? = null, val actions: SerializableImmutableList<TileSchema>? = null, val barStyle: TopAppBarTileSchema.TopAppBarStyle = TopAppBarStyle.DEFAULT) : TileSchema

Renders a Material 3 top app bar. barStyle picks the composable: TopAppBarStyle.DEFAULTTopAppBar, TopAppBarStyle.CENTER_ALIGNEDCenterAlignedTopAppBar, TopAppBarStyle.MEDIUMMediumTopAppBar, TopAppBarStyle.LARGELargeTopAppBar.

Slots: title is rendered in the title slot (any tile, most often a SimpleText), navigationIcon in the leading slot, and actions in the trailing slot, laid out inside a RowScope. Both navigationIcon and actions are optional and render as empty slots when omitted.

Triggers dispatched: none. The bar itself emits no trigger and is not clickable, so any events declared on it are never fired — wire events on the slot tiles (typically IconButtons) instead.

Notes: the bar has no scroll behavior, so the medium and large variants do not collapse as the content scrolls.

Constructors

Link copied to clipboard
constructor(id: String, events: SerializableImmutableList<EventSchema>?, style: StyleSchema, searchableTerms: SerializableImmutableList<String>?, visibility: TileSchema.Visibility, title: TileSchema, navigationIcon: TileSchema? = null, actions: SerializableImmutableList<TileSchema>? = null, barStyle: TopAppBarTileSchema.TopAppBarStyle = TopAppBarStyle.DEFAULT)

Types

Properties

Link copied to clipboard
@SerialName(value = "actions")
val actions: SerializableImmutableList<TileSchema>?
Link copied to clipboard
@SerialName(value = "barStyle")
val barStyle: TopAppBarTileSchema.TopAppBarStyle
Link copied to clipboard
@SerialName(value = "events")
open override val events: SerializableImmutableList<EventSchema>?
Link copied to clipboard
@SerialName(value = "id")
open override val id: String
Link copied to clipboard
@SerialName(value = "navigationIcon")
val navigationIcon: TileSchema?
Link copied to clipboard
@SerialName(value = "searchableTerms")
open override val searchableTerms: SerializableImmutableList<String>?
Link copied to clipboard
@SerialName(value = "style")
open override val style: StyleSchema
Link copied to clipboard
@SerialName(value = "title")
val title: TileSchema
Link copied to clipboard
@SerialName(value = "visibility")
open override val visibility: TileSchema.Visibility

Functions

Link copied to clipboard
open fun isGone(): Boolean
Link copied to clipboard
open fun isVisible(): Boolean