showToastCustom method

void showToastCustom({
  1. String? title,
  2. String? description,
  3. String? id,
  4. Map<String, dynamic>? data,
})

Display a custom Toast message.

Implementation

void showToastCustom({
  String? title,
  String? description,
  String? id,
  Map<String, dynamic>? data,
}) {
  showToast(
    title: title,
    description: description ?? "",
    id: id ?? 'success',
    data: data,
  );
}