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