Package-level declarations

Types

Link copied to clipboard
data class SpeedModel(val currentSpeed: Int, val speedLimit: Int?, val isSpeeding: Boolean)
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun SpeedView(modifier: Modifier = Modifier, speedState: StateFlow<SpeedModel?>, colors: SpeedViewColors = SpeedViewDefaults.speedViewColors(), speedometerBorder: BorderStroke? = SpeedViewDefaults.speedometerBorder(), speedometerFontSize: TextUnit = 26.dp.toUnscaledSp())

Speed limit and current speed indication. By default this view will try to grow as much as possible, you can constrain it's size by passing size Modifier.