iconName property
String
get
iconName
Implementation
String get iconName {
switch (this) {
case loading:
return 'refresh';
case success:
return 'check_circle';
case error:
return 'error';
case empty:
return 'inbox';
case cannot:
return 'block';
case timeout:
return 'schedule';
case idle:
return 'circle';
case cancelled:
return 'cancel';
case warning:
return 'warning';
}
}