showToastCustom static method
void
showToastCustom(})
Display a custom Toast message.
Use id to specify a custom toast style registered via Nylo.addToastNotifications.
Implementation
static void showToastCustom(
dynamic state, {
String? title,
required String description,
String? id,
Map<String, dynamic>? data,
}) {
_updateState(_findStateName(state), "toast-custom", {
"title": title ?? "",
"description": description,
"id": id,
"data": data,
});
}