ToastNotification

Properties

Link copied to clipboard
open override val id: String

Unique identifier for this UI component.

Link copied to clipboard
open override val isEnabled: Boolean

Whether this component is currently enabled.

Link copied to clipboard
open override val isVisible: Boolean

Whether this component is currently visible.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun disable()

Disable this component.

Link copied to clipboard
open override fun dispose()

Dispose of this component and release resources.

Link copied to clipboard
open override fun enable()

Enable this component.

Link copied to clipboard

Gets toast background color based on type

Link copied to clipboard

Gets toast container style

Link copied to clipboard
open fun getIcon(): String

Gets toast icon based on type

Link copied to clipboard

Gets position style based on toast position

Link copied to clipboard
open override fun hide()

Hide this component.

Link copied to clipboard
open override fun show()

Show this component.

Link copied to clipboard
open fun startAutoDismiss(scope: CoroutineScope)

Starts auto-dismiss timer