FinishRouteComposable
fun FinishRouteComposable(viewModel: FinishRouteViewModel, bottomSheetState: CustomBottomSheetState, onBottomSheetVisibilityChanged: (CustomBottomSheetVisibility) -> Unit, icons: FinishRouteComposableIcons = FinishRouteComposableDefaults.icons, colors: FinishRouteComposableColors = FinishRouteComposableDefaults.colors())
Displays the finish route UI as a bottom sheet.
This control is shown when navigation reaches the destination, providing:
Arrival confirmation message
Optional parking button to find nearby parking
Finish route button to end navigation
The bottom sheet can be expanded/collapsed by user interaction.
Parameters
viewModel
The view model managing the finish route state
bottomSheetState
The state for managing the bottom sheet's expand/collapse behavior
onBottomSheetVisibilityChanged
Callback invoked when bottom sheet visibility changes
icons
A set of customizable icons for the control
colors
The colors to apply for the visual representation