RatingFull
fun RatingFull(@FloatRange(from = 0.0, to = 5.0) value: Float, modifier: Modifier = Modifier, commentCount: Int? = null, label: String? = null, locale: Locale? = firstLocale())
Display the value rating of an user with stars optionally followed by a label and/or commentCount in the following form 3,4 ★★★☆☆ Communication (5)
Parameters
value
rating value as a float, should be between 0.0 and 5.0
modifier
to apply
commentCount
the nb of reviews to be displayed after the rating stars.
label
the nb of reviews to be displayed after the rating stars.
locale
the local used to format the rating value, use the first available Locale by default. Use null
to hide the rating value before the stars