Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
object ManeuversBarDefaults
Link copied to clipboard
data class ManeuversModel(val nextManeuver: Maneuver?, val followingManeuver: Maneuver?, val distance: AnnotatedString, val nextRouteName: String, val isOffRoute: Boolean)
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.