showToastSuccess method

void showToastSuccess({
  1. String? title,
  2. required String description,
})

Displays a Toast message containing "Success" for the title, you only need to provide a description.

Implementation

void showToastSuccess({String? title, required String description}) {
  showToast(title: title, description: description, id: 'success');
}