PrismToastMessage constructor
- required String message,
- PrismToastType type = PrismToastType.info,
- String? title,
- Duration duration = const Duration(seconds: 3),
- String? actionLabel,
- VoidCallback? onAction,
Creates a toast payload.
Implementation
const PrismToastMessage({
required this.message,
this.type = PrismToastType.info,
this.title,
this.duration = const Duration(seconds: 3),
this.actionLabel,
this.onAction,
});