IconToast constructor

const IconToast({
  1. Key? key,
  2. ToastType type = ToastType.info,
  3. required String message,
  4. String? customIcon,
  5. required bool isVisible,
  6. required VoidCallback onDismiss,
})

Implementation

const IconToast({
  super.key,
  this.type = ToastType.info,
  required this.message,
  this.customIcon,
  required this.isVisible,
  required this.onDismiss,
});