SubZeroToastPreview constructor

const SubZeroToastPreview({
  1. Key? key,
  2. required String message,
  3. SubZeroToastType type = SubZeroToastType.defaultType,
  4. SubZeroToastActionMode actionMode = SubZeroToastActionMode.icon,
  5. String? actionLabel,
  6. VoidCallback? onAction,
  7. VoidCallback? onDismiss,
  8. IconData? leadingIcon,
})

Implementation

const SubZeroToastPreview({
  super.key,
  required this.message,
  this.type = SubZeroToastType.defaultType,
  this.actionMode = SubZeroToastActionMode.icon,
  this.actionLabel,
  this.onAction,
  this.onDismiss,
  this.leadingIcon,
});