onCloseButtonTap property

ValueChanged<ToastificationItem>? onCloseButtonTap
final

Called when the toast close button is tapped by a user.

the default behavior is to close the toast with Toastification.dismiss method so if you are overriding this method you should handle it by your self.

Implementation

final ValueChanged<ToastificationItem>? onCloseButtonTap;