57 lines
2.0 KiB
Dart
57 lines
2.0 KiB
Dart
import 'package:auto_size_text/auto_size_text.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:gascom/constants/app_theme.dart';
|
|
import 'package:gascom/widgets/custom_app_bar.dart';
|
|
|
|
class NotificationsScreen extends StatelessWidget {
|
|
const NotificationsScreen({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
appBar: const CustomAppBar(
|
|
title: "الإشعارات",
|
|
),
|
|
body: SafeArea(
|
|
child: ListView.separated(
|
|
padding: const EdgeInsets.all(20),
|
|
itemCount: 5,
|
|
separatorBuilder: (context, index) => const SizedBox(height: 10),
|
|
itemBuilder: (context, index) => InkWell(
|
|
child: Container(
|
|
// padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 15),
|
|
decoration: BoxDecoration(
|
|
borderRadius: BorderRadius.circular(10),
|
|
border: Border.all(
|
|
color: AppTheme.textColor,
|
|
width: 1,
|
|
),
|
|
),
|
|
child: ListTile(
|
|
title: AutoSizeText(
|
|
"تم تحديث حالة الطلب",
|
|
style: Theme.of(context).textTheme.bodyLarge,
|
|
),
|
|
subtitle: Column(
|
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
|
children: [
|
|
AutoSizeText(
|
|
"تم تحديث حالة الطلب الخاص بك الى قيد المراجعة",
|
|
style: Theme.of(context).textTheme.bodySmall,
|
|
textAlign: TextAlign.right,
|
|
),
|
|
AutoSizeText(
|
|
"2024/12/12",
|
|
style: Theme.of(context).textTheme.bodySmall,
|
|
textAlign: TextAlign.right,
|
|
),
|
|
],
|
|
),
|
|
)
|
|
),
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
} |