insert pages
This commit is contained in:
@@ -198,7 +198,7 @@ void showCommentDialog(BuildContext context, commentCallback(comment)) {
|
||||
}
|
||||
|
||||
Widget getStatus(String status) {
|
||||
return status == "approved"
|
||||
return status == "Delivered"
|
||||
? Chip(
|
||||
backgroundColor: Colors.green,
|
||||
avatar: Icon(
|
||||
@@ -222,9 +222,9 @@ Widget getStatus(String status) {
|
||||
status,
|
||||
style: TextStyle(color: Colors.white, fontSize: 12),
|
||||
))
|
||||
: status == "pending"
|
||||
: status == "In progress"
|
||||
? Chip(
|
||||
backgroundColor: Colors.blue,
|
||||
backgroundColor: Colors.red,
|
||||
avatar: Icon(
|
||||
Icons.timelapse,
|
||||
color: Colors.white,
|
||||
@@ -234,12 +234,24 @@ Widget getStatus(String status) {
|
||||
status,
|
||||
style: TextStyle(color: Colors.white, fontSize: 12),
|
||||
))
|
||||
: Chip(
|
||||
avatar: Icon(
|
||||
Icons.check,
|
||||
size: 14,
|
||||
),
|
||||
label: Text(status));
|
||||
: status == "pending"
|
||||
? Chip(
|
||||
backgroundColor: Colors.blue,
|
||||
avatar: Icon(
|
||||
Icons.timelapse,
|
||||
color: Colors.white,
|
||||
size: 14,
|
||||
),
|
||||
label: Text(
|
||||
status,
|
||||
style: TextStyle(color: Colors.white, fontSize: 12),
|
||||
))
|
||||
: Chip(
|
||||
avatar: Icon(
|
||||
Icons.check,
|
||||
size: 14,
|
||||
),
|
||||
label: Text(status));
|
||||
}
|
||||
|
||||
call(BuildContext context, String phone) {
|
||||
|
||||
Reference in New Issue
Block a user