RatingDisplay

fun RatingDisplay(@FloatRange(from = 0.0, to = 5.0) value: Float, modifier: Modifier = Modifier, size: Dp = RatingDefault.SmallStarSize)

A display for a rating value.

Parameters

value

The rating value to display. Must be between 0 and 5.

modifier

The modifier to be applied to the layout.

size

The size of the stars. Default is RatingDefault.SmallStarSize