showToastSuccess static method
Displays a Toast message containing "Success" for the title, you
only need to provide a description.
Implementation
static void showToastSuccess(
dynamic state, {
String? title,
required String description,
}) {
_updateState(_findStateName(state), "toast-success", {
"title": title ?? "Success",
"description": description,
});
}