IndoorComposable
fun IndoorComposable(viewModel: IndoorViewModel, showRoof: Boolean = true, colors: IndoorComposableColors = IndoorComposableDefaults.colors())
A composable that displays floors of a building in a vertically oriented manner. Shows a maximum of 4 floors at a time when roof button is shown, or 5 when it is hidden. If there are more floors, scrolling is enabled.
Parameters
viewModel
The view model that manages indoor levels state and user interactions.
showRoof
Whether to display the roof button at the top of the levels list. When true (default), the roof button is shown and up to 4 levels are visible. When false, the roof button is hidden and up to 5 levels are visible.
colors
The colors to apply for the visual representation.