DefaultStandardToastWidget constructor
const
DefaultStandardToastWidget({
- Key? key,
- Widget? title,
- Widget? description,
- Widget? icon,
- required VoidCallback onCloseTap,
- bool showCloseButton = true,
- ToastCloseButton closeButton = const ToastCloseButton(),
- double? progressBarValue,
- Widget? progressBarWidget,
Implementation
const DefaultStandardToastWidget({
super.key,
this.title,
this.description,
this.icon,
required this.onCloseTap,
this.showCloseButton = true,
this.closeButton = const ToastCloseButton(),
this.progressBarValue,
this.progressBarWidget,
});