StarRatingSubmit

fun StarRatingSubmit(onStarClick: (StarRatingSubmit.Rating) -> Unit, modifier: Modifier = Modifier, translations: StarRatingSubmit.Translations = StarRatingSubmit.Translations())

An interactive star rating to provide feedback. Fills stars until including clicked star.

Star Rating Submit Sample

Parameters

onStarClick

called when a star is clicked. The lambda receives the index of the star that was clicked.

modifier

the Modifier applied to the smiley feedback. Note that smiley size is static.

translations

the StarRatingSubmit.Translations semantics of the stars. If null or empty, no semantics will be set.