ToastContent constructor
const
ToastContent({
- Key? key,
- Widget? title,
- required Widget description,
- required NotificationType notificationType,
- required bool displayCloseButton,
- required void onCloseButtonPressed(),
- required Color verticalDividerColor,
- Widget closeButton(
- void dismissNotification()
- Widget? icon,
- double iconSize = 20,
- Widget? action,
Implementation
const ToastContent({
Key? key,
this.title,
required this.description,
required this.notificationType,
required this.displayCloseButton,
required this.onCloseButtonPressed,
required this.verticalDividerColor,
this.closeButton,
this.icon,
this.iconSize = 20,
this.action,
}) : super(key: key);