Improve message bubble design
This commit is contained in:
parent
60571743d3
commit
7700cd5867
4 changed files with 132 additions and 72 deletions
|
|
@ -245,4 +245,19 @@ extension LocalizedBody on Event {
|
|||
|
||||
return localizedBody;
|
||||
}
|
||||
|
||||
IconData get statusIcon {
|
||||
switch (this.status) {
|
||||
case -1:
|
||||
return Icons.error_outline;
|
||||
case 0:
|
||||
return Icons.timer;
|
||||
case 1:
|
||||
return Icons.done;
|
||||
case 2:
|
||||
return Icons.done_all;
|
||||
default:
|
||||
return Icons.done;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue