ToastrOptions constructor

ToastrOptions({
  1. required String message,
  2. required bool showIcon,
  3. required IconData icon,
  4. required Color primaryColor,
  5. required EdgeInsetsGeometry margin,
  6. required bool showCloseButton,
  7. required VoidCallback onClose,
  8. required ToastStyle toastStyle,
  9. TextStyle? messageStyle,
  10. BorderRadiusGeometry? borderStyle,
})

Implementation

ToastrOptions({
  required this.message,
  required this.showIcon,
  required this.icon,
  required this.primaryColor,
  required this.margin,
  required this.showCloseButton,
  required this.onClose,
  required this.toastStyle,
  this.messageStyle,
  this.borderStyle,
});