Package-level declarations

Types

Link copied to clipboard
data class ManeuversBarColors(val backgroundColor: Color, val contentColor: Color)
Link copied to clipboard
Link copied to clipboard
data class ManeuversModel(val nextManeuver: Maneuver?, val followingManeuver: Maneuver?, val distance: AnnotatedString, val nextRouteName: String, val isOffRoute: Boolean)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun ManeuversBar(modifier: Modifier = Modifier, colors: ManeuversBarColors = ManeuversBarDefaults.maneuversBarColors(), border: BorderStroke? = ManeuversBarDefaults.maneuversBarBorder(), speedViewColors: SpeedViewColors = SpeedViewDefaults.speedViewColors(), maneuversState: StateFlow<ManeuversModel?>, speedState: StateFlow<SpeedModel?>)

Bar containing speed limit, current speed and upcoming maneuver information. This component contains SpeedView which by default grows as much as possible, so you need to constrain height using height modifier.