ToastNotificationOptions

data class ToastNotificationOptions(val isVisible: Boolean = false, val message: String, val type: ToastType = ToastType.INFO, val duration: Long = 3000, val position: ToastPosition = ToastPosition.BOTTOM_CENTER, val onDismiss: () -> Unit? = null)

ToastNotification - Brief notification popup with auto-dismiss.

Displays temporary notification messages that automatically disappear. Supports stacking multiple toasts.

Constructors

Link copied to clipboard
constructor(isVisible: Boolean = false, message: String, type: ToastType = ToastType.INFO, duration: Long = 3000, position: ToastPosition = ToastPosition.BOTTOM_CENTER, onDismiss: () -> Unit? = null)

Properties

Link copied to clipboard
val duration: Long = 3000
Link copied to clipboard
val isVisible: Boolean = false
Link copied to clipboard
Link copied to clipboard
val onDismiss: () -> Unit? = null
Link copied to clipboard
Link copied to clipboard