ToastManager

Properties

Link copied to clipboard
val toast: StateFlow<ToastConfig?>

Functions

Link copied to clipboard
fun dismiss()
Link copied to clipboard

Clears the current toast because ToastHost was removed. Does not invoke ToastConfig.onDismiss so UI teardown callbacks cannot run against a disposed hierarchy.

Link copied to clipboard
fun show(config: ToastConfig)