toggle menu
Orbit Compose
android
switch theme
search in API
ui
/
kiwi.orbit.compose.ui.controls
/
ToastHostState
Toast
Host
State
@
Stable
class
ToastHostState
(
onActionClick
:
(
String
)
->
Unit
,
onDismiss
:
(
String
)
->
Unit
)
Members
Constructors
Toast
Host
State
Link copied to clipboard
constructor
(
onActionClick
:
(
String
)
->
Unit
,
onDismiss
:
(
String
)
->
Unit
)
Functions
show
Toast
Link copied to clipboard
fun
showToast
(
message
:
String
,
iconName
:
IconName
?
=
null
,
actionLabel
:
String
?
=
null
,
toastId
:
String
=
"toast"
)
fun
showToast
(
message
:
String
,
imageUrl
:
String
,
actionLabel
:
String
?
=
null
,
toastId
:
String
=
"toast"
)