Dashboard

abstract fun Dashboard(viewModel: NavigationDashboardViewModel, bottomSheetState: CustomBottomSheetState, onBottomSheetVisibilityChanged: (CustomBottomSheetVisibility) -> Unit, addRoadEventButton: CustomizableDashboardButton)

Renders the navigation dashboard component showing route information, audio controls, and navigation actions.

Parameters

viewModel

ViewModel managing dashboard state and user interactions

bottomSheetState

State controlling the bottom sheet expansion/collapse

onBottomSheetVisibilityChanged

Callback invoked when bottom sheet visibility changes

addRoadEventButton

Optional custom button for adding road events