Package-level declarations

Types

Link copied to clipboard
@Serializable
@SerialName(value = "NavigationBar")
data class NavigationBarTileSchema(val id: String, val events: SerializableImmutableList<EventSchema>?, val style: StyleSchema, val searchableTerms: SerializableImmutableList<String>?, val visibility: TileSchema.Visibility, val items: SerializableImmutableList<NavigationBarTileSchema.NavigationBarItem>, val selectedItemId: String) : TileSchema

Renders a Material 3 NavigationBar with one NavigationBarItem per entry in items. An item is selected when its NavigationBarItem.id equals selectedItemId; the selected item's icon is drawn in its filled variant, the others outlined. NavigationBarItem.label is rendered centered under the icon, or omitted when null.

Link copied to clipboard
@Serializable
@SerialName(value = "NavigationRail")
data class NavigationRailTileSchema(val id: String, val events: SerializableImmutableList<EventSchema>?, val style: StyleSchema, val searchableTerms: SerializableImmutableList<String>?, val visibility: TileSchema.Visibility, val items: SerializableImmutableList<NavigationRailTileSchema.NavigationRailItem>, val selectedItemId: String, val header: TileSchema? = null, val footer: TileSchema? = null) : TileSchema

Renders a Material 3 NavigationRail — the side-rail counterpart of NavigationBarTileSchema — with one NavigationRailItem per entry in items, plus 4dp horizontal and 8dp vertical padding applied by the renderer. An item is selected when its NavigationRailItem.id equals selectedItemId; the selected item's icon is drawn in its filled variant, the others outlined. NavigationRailItem.label is rendered centered under the icon, or omitted when null.

Link copied to clipboard
@Serializable
@SerialName(value = "NestedNavigationGraph")
data class NestedNavigationGraphTileSchema(val id: String, val events: SerializableImmutableList<EventSchema>?, val style: StyleSchema, val searchableTerms: SerializableImmutableList<String>?, val visibility: TileSchema.Visibility, val navigatorId: String, val entries: SerializableImmutableList<NestedNavigationGraphTileSchema.Entry>, val startEntryId: String, val defaultTransition: ContentTransitionSchema? = null, val defaultPopTransition: ContentTransitionSchema? = null, val defaultPredictivePopTransition: ContentTransitionSchema? = null) : TileSchema

Hosts a self-contained Navigation 3 NavDisplay inside a tile, so a region of a screen can have its own back stack. The stack starts at startEntryId and every screen it can show is declared in entries.

Link copied to clipboard
@Serializable
@SerialName(value = "Tabs")
data class TabsTileSchema(val id: String, val events: SerializableImmutableList<EventSchema>?, val style: StyleSchema, val searchableTerms: SerializableImmutableList<String>?, val visibility: TileSchema.Visibility, val selectedTabId: String, val tabItems: SerializableImmutableList<TabsTileSchema.TabItem>, val tabType: TabsTileSchema.Type, val scrollable: Boolean) : TileSchema

Renders a Material 3 tab row with one Tab per entry in tabItems. tabType picks the emphasis — Type.PRIMARY uses the primary tab rows, Type.SECONDARY the secondary ones — and scrollable chooses between the fixed row (false) and the scrollable one (true). Each tab shows its TabItem.label and TabItem.icon, both optional. The selected tab is the one whose TabItem.id equals selectedTabId.