Added notification logic and view api

This commit is contained in:
llsajjad
2025-09-22 16:05:08 +03:30
parent 2e2718a92e
commit cfc61daf71
23 changed files with 1944 additions and 152 deletions
@@ -19,49 +19,49 @@ class NotificationScreen extends StatelessWidget {
}
}
class NotificationModel {
final String title;
final String description;
final String time;
final String type;
// class NotificationModel {
// final String title;
// final String description;
// final String time;
// final String type;
NotificationModel({
required this.title,
required this.description,
required this.time,
required this.type,
});
}
// NotificationModel({
// required this.title,
// required this.description,
// required this.time,
// required this.type,
// });
// }
final List<NotificationModel> notifications = [
NotificationModel(
title: 'New Tender Invitation',
description: 'Youve been invited to tender #A-778.',
time: '5 Min',
type: 'new',
),
NotificationModel(
title: 'New Tender Invitation',
description: 'Youve been invited to tender #N-3762.',
time: '28 Min',
type: 'new',
),
NotificationModel(
title: 'Tender Submitted',
description: 'You submitted bid for tender #B-554.',
time: '28 Min',
type: 'submit',
),
NotificationModel(
title: 'New Tender Invitation',
description: 'Youve been invited to tender #N-3762.',
time: '28 Min',
type: 'new',
),
NotificationModel(
title: 'Missing Documents',
description: 'Please upload your company registration certificate.',
time: '2 days ago',
type: 'missing',
),
];
// final List<NotificationModel> notifications = [
// NotificationModel(
// title: 'New Tender Invitation',
// description: 'Youve been invited to tender #A-778.',
// time: '5 Min',
// type: 'new',
// ),
// NotificationModel(
// title: 'New Tender Invitation',
// description: 'Youve been invited to tender #N-3762.',
// time: '28 Min',
// type: 'new',
// ),
// NotificationModel(
// title: 'Tender Submitted',
// description: 'You submitted bid for tender #B-554.',
// time: '28 Min',
// type: 'submit',
// ),
// NotificationModel(
// title: 'New Tender Invitation',
// description: 'Youve been invited to tender #N-3762.',
// time: '28 Min',
// type: 'new',
// ),
// NotificationModel(
// title: 'Missing Documents',
// description: 'Please upload your company registration certificate.',
// time: '2 days ago',
// type: 'missing',
// ),
// ];