BuiltInToastBuilder constructor

const BuiltInToastBuilder({
  1. Key? key,
  2. ToastificationItem? item,
  3. required ToastificationType? type,
  4. required ToastificationStyle? style,
  5. required TextDirection? direction,
  6. Widget? title,
  7. Widget? description,
  8. Color? primaryColor,
  9. Color? backgroundColor,
  10. Color? foregroundColor,
  11. Widget? icon,
  12. Brightness? brightness,
  13. EdgeInsetsGeometry? padding,
  14. BorderRadiusGeometry? borderRadius,
  15. BorderSide? borderSide,
  16. List<BoxShadow>? boxShadow,
  17. bool? showIcon,
  18. required VoidCallback onCloseTap,
  19. required bool showProgressBar,
  20. bool? applyBlurEffect,
  21. ProgressIndicatorThemeData? progressBarTheme,
  22. 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,
});