StarRatingInformative
fun StarRatingInformative(rating: Float, numberOfUsers: Int, modifier: Modifier = Modifier, isCompressed: Boolean = false, translations: StarRating.Translations = StarRating.Translations())
Displays the current rating of an item.
Star Rating Informative

Star Rating Informative Compressed

Parameters
rating
the rating of the item.
numberOfUsers
the number of users that have provided a ranking.
modifier
the Modifier applied to the star rating. Note that star size is static.
isCompressed
if true a compressed view with only a single star is rendered.
translations
the StarRating.Translations semantics of the star rating. If null or empty, no semantics will be set.