update pickup

This commit is contained in:
Thinzar Win
2020-06-30 16:27:56 +06:30
parent 9fc7ef5381
commit a8caaf6073
8 changed files with 250 additions and 166 deletions

View File

@@ -13,6 +13,7 @@ class PickUp {
String status;
DateTime date;
List<Cargo> cargoTypes;
bool isCourier;
PickUp(
{this.id,
@@ -26,7 +27,8 @@ class PickUp {
this.address,
this.status,
this.date,
this.cargoTypes});
this.cargoTypes,
this.isCourier=false});
int get last => DateTime.now().difference(date).inDays;

5
lib/vo/radio.dart Normal file
View File

@@ -0,0 +1,5 @@
class RadioGroup {
String text;
dynamic index;
RadioGroup({this.text, this.index});
}