showToastCustom static method
dynamic
showToastCustom(
- String state, {
- String? title,
- required String description,
- ToastNotificationStyleType? style,
Display a custom Toast message.
Implementation
static showToastCustom(String state,
{String? title,
required String description,
ToastNotificationStyleType? style}) {
_updateState(state, "toast-custom", {
"title": title ?? "",
"description": description,
"style": style ?? ToastNotificationStyleType.custom
});
}