BuiltInToastBuilder constructor
const
BuiltInToastBuilder({
- Key? key,
- ToastificationItem? item,
- required ToastificationType? type,
- required ToastificationStyle? style,
- required TextDirection? direction,
- Widget? title,
- Widget? description,
- Color? primaryColor,
- Color? backgroundColor,
- Color? foregroundColor,
- Widget? icon,
- Brightness? brightness,
- EdgeInsetsGeometry? padding,
- BorderRadiusGeometry? borderRadius,
- BorderSide? borderSide,
- List<
BoxShadow> ? boxShadow, - bool? showIcon,
- required VoidCallback onCloseTap,
- required bool showProgressBar,
- bool? applyBlurEffect,
- ProgressIndicatorThemeData? progressBarTheme,
- required ToastCloseButton closeButton,
Implementation
const BuiltInToastBuilder({
super.key,
this.item,
required this.type,
required this.style,
required this.direction,
this.title,
this.description,
this.primaryColor,
this.backgroundColor,
this.foregroundColor,
this.icon,
this.brightness,
this.padding,
this.borderRadius,
this.borderSide,
this.boxShadow,
this.showIcon,
required this.onCloseTap,
required this.showProgressBar,
this.applyBlurEffect,
this.progressBarTheme,
required this.closeButton,
});