import 'package:flutter/material.dart'; import 'package:tm_app/core/utils/size_config.dart'; import 'package:tm_app/views/notification/pages/d_notification_page.dart'; import 'package:tm_app/views/notification/pages/m_notification_page.dart'; import 'package:tm_app/views/notification/pages/t_notification_page.dart'; import 'package:tm_app/views/shared/responsive_builder.dart'; class NotificationScreen extends StatelessWidget { const NotificationScreen({super.key}); @override Widget build(BuildContext context) { SizeConfig.init(context); return const ResponsiveBuilder( mobile: MobileNotificationPage(), tablet: TabletNotificationPage(), desktop: DesktopNotificationPage(), ); } } 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, }); } final List notifications = [ NotificationModel( title: 'New Tender Invitation', description: 'You’ve been invited to tender #A-778.', time: '5 Min', type: 'new', ), NotificationModel( title: 'New Tender Invitation', description: 'You’ve 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: 'You’ve 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', ), ];