FlutterToastifyContent constructor
const
FlutterToastifyContent({
- Key? key,
- Widget? title,
- required Widget description,
- required NotificationType notificationType,
- required bool displayCloseButton,
- required VoidCallback onCloseButtonPressed,
- Widget closeButton(
- void dismissNotification()
- Widget? icon,
- double iconSize = 20,
- Widget? action,
- VoidCallback? onActionPressed,
- double verticalPadding = 0,
Creates the notification content. / Bildirim içeriğini oluşturur.
Implementation
const FlutterToastifyContent({
super.key,
this.title,
required this.description,
required this.notificationType,
required this.displayCloseButton,
required this.onCloseButtonPressed,
this.closeButton,
this.icon,
this.iconSize = 20,
this.action,
this.onActionPressed,
this.verticalPadding = 0,
});