Toast(animation: ToastAnimation? = null, classes: Set<String> = setOf(), init: (Toast.() -> Unit)? = null)
Creates a toast component.
animation - the type of animation
classes - a set of CSS class names
init - an initializer extension function
Constructor
Creates a toast component.