Package-level declarations

Functions

Link copied to clipboard
inline fun <T : Any> getRequiredService(): T

A Composable function that retrieves a system service of type T.

Link copied to clipboard
fun <T> ObserveAsEvents(flow: Flow<T>, key1: Any? = null, key2: Any? = null, onEvent: (T) -> Unit)

Observes a Flow and executes the onEvent callback for each emitted value.

Link copied to clipboard
fun roundedRangeCount(range: IntRange, stepSize: Int): Int
Link copied to clipboard
fun ScrollableNumber(modifier: Modifier = Modifier, initialValue: Int = 50, range: IntRange = 0..99, stepSize: Int = 1, onValueChange: (Int) -> Unit)

A composable function that displays a scrollable list of numbers. The user can scroll through the numbers, and the selected number will be highlighted.