Package-level declarations

Types

Link copied to clipboard
data class SearchDistanceComposableColors(val distanceColor: Color)
Link copied to clipboard
Link copied to clipboard
data class SearchRatingComposableColors(val filledStarColor: Color, val emptyStarColor: Color, val ratingColor: Color, val reviewsColor: Color)
Link copied to clipboard
Link copied to clipboard
data class SearchRatingComposableIcons(@DrawableRes val ratingStarIcon: Int, val ratingStarIconSize: DpSize)
Link copied to clipboard
data class SearchRatingComposableStrings(@StringRes val noReviewsString: Int, @PluralsRes val reviewsString: Int)

Functions

Link copied to clipboard
fun SearchDistanceComposable(distanceMeters: Meter, colors: SearchDistanceComposableColors = SearchDistanceComposableDefaults.colors())

Composable function that shows the distance from the user's location.

Link copied to clipboard
fun SearchReviewsComposable(reviewsCount: Int, colors: SearchRatingComposableColors = SearchRatingComposableDefaults.colors(), fonts: SearchRatingComposableFonts = SearchRatingComposableDefaults.fonts)

Composable function that displays the number of reviews in a formatted text.

Link copied to clipboard
fun SearchStarRatingComposable(rating: Float?, maxRating: Int = 5, icons: SearchRatingComposableIcons = SearchRatingComposableDefaults.icons, colors: SearchRatingComposableColors = SearchRatingComposableDefaults.colors())

Composable function that displays a visual star rating.