ToastificationCallbacks constructor

const ToastificationCallbacks({
  1. ValueChanged<ToastificationItem>? onTap,
  2. ValueChanged<ToastificationItem>? onCloseButtonTap,
  3. ValueChanged<ToastificationItem>? onAutoCompleteCompleted,
  4. ValueChanged<ToastificationItem>? onDismissed,
})

Creates a set of callbacks that you can provide to a Toastification widget.

Implementation

const ToastificationCallbacks({
  this.onTap,
  this.onCloseButtonTap,
  this.onAutoCompleteCompleted,
  this.onDismissed,
});