Package-level declarations

Types

Link copied to clipboard
data class ToastAction(val label: String, val onClick: () -> Unit)
Link copied to clipboard
data class ToastData(val id: Long, val message: String, val type: ToastType = ToastType.Default, val action: ToastAction? = null, val duration: ToastDuration = ToastDuration.Short, val showCloseButton: Boolean = true)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun ToastHost(state: ToastHostState, modifier: Modifier = Modifier, maxVisibleToasts: Int = 5)
Link copied to clipboard
fun ToastItem(toast: ToastData, onDismiss: () -> Unit, modifier: Modifier = Modifier)