defaultIcon property
IconData
get
defaultIcon
Returns the default icon for each toastr type
Implementation
IconData get defaultIcon {
switch (this) {
case ToastrType.success:
return Icons.check;
case ToastrType.error:
return Icons.error;
case ToastrType.warning:
return Icons.warning;
case ToastrType.info:
return Icons.info;
case ToastrType.loading:
return Icons.hourglass_empty;
case ToastrType.blank:
return Icons.chat_bubble_outline;
}
}