Package-level declarations

Types

Link copied to clipboard

Default implementation of FinishRouteViewModel. Manages the state and behavior of the finish route UI control with parking option.

Link copied to clipboard
data class FinishRouteComposableColors(val backgroundColor: Color, val handleColor: Color, val arrivedTextColor: Color, val parkingButtonActiveBackgroundColor: Color, val parkingButtonInactiveBackgroundColor: Color, val parkingButtonActiveTextColor: Color, val parkingButtonInactiveTextColor: Color, val parkingButtonActiveIconColor: Color, val parkingButtonInactiveIconColor: Color, val finishButtonColor: Color, val finishButtonTextColor: Color, val finishButtonBackgroundColor: Color)
Link copied to clipboard
data class FinishRouteComposableIcons(val handle: @Composable () -> ImageVector, val parking: @Composable () -> ImageVector, val finishFlag: @Composable () -> ImageVector)
Link copied to clipboard
Link copied to clipboard

Represents the state of the parking feature in the finish route control.

Link copied to clipboard

Manages the state and behavior of the finish route UI control. This control is displayed when navigation reaches the destination.

Functions

Link copied to clipboard
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.