insert pages

This commit is contained in:
Thinzar Win
2020-05-29 16:14:17 +06:30
parent bad27ba5c4
commit f4823d82f8
30 changed files with 1431 additions and 959 deletions

View File

@@ -8,6 +8,8 @@ class Notification {
String desc;
DateTime time;
bool seen;
String marketPlace;
String status;
Notification(
{this.id,
@@ -16,11 +18,13 @@ class Notification {
this.itemType,
this.desc,
this.time,
this.seen});
this.seen,
this.marketPlace,
this.status});
String get getDesc =>
desc != null && desc.length > 30 ? desc.substring(0, 30) : desc;
bool fromToday() {
var now = DateTime.now();
return time.day == now.day &&