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;
}
}