ToastrOptions constructor
ToastrOptions({
- required String message,
- required bool showIcon,
- required IconData icon,
- required Color primaryColor,
- required EdgeInsetsGeometry margin,
- required bool showCloseButton,
- required VoidCallback onClose,
- required ToastStyle toastStyle,
- TextStyle? messageStyle,
- 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,
});