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,8 +8,30 @@ import 'constants.dart';
import 'firebase_helper.dart';
class NotificationModel extends BaseModel {
int filer=0;
List<Notification> notifications = [];
int filer = 0;
List<Notification> notifications = [
Notification(
desc: 'A102A-34-#23',
status: 'delivered',
time: DateTime(2020, 4, 28, 10, 32)),
Notification(
desc: 'A102A-34-#24',
status: 'picked up',
time: DateTime(2020, 4, 26, 9, 32)),
Notification(
desc: 'A102A-34-#23',
status: 'sorted',
time: DateTime(2020, 4, 24, 10, 32)),
Notification(
desc: 'ORDER # 114-0725982-9074639',
status: 'audited',
time: DateTime(2020, 4, 22, 12, 30)),
Notification(
marketPlace: "Amazon",
desc: 'ORDER # 114-0725982-9074639',
status: 'received',
time: DateTime(2020, 4, 22, 12, 22))
];
var filterValues = {1: "po", 2: "do", 3: "buyer"};
List<Notification> get notis {
@@ -25,7 +47,6 @@ class NotificationModel extends BaseModel {
_loadNotifications();
}
@override
logout() async {
notifications = [];