SubZeroToastPreview constructor
const
SubZeroToastPreview({
- Key? key,
- required String message,
- SubZeroToastType type = SubZeroToastType.defaultType,
- SubZeroToastActionMode actionMode = SubZeroToastActionMode.icon,
- String? actionLabel,
- VoidCallback? onAction,
- VoidCallback? onDismiss,
- 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,
});