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