This commit is contained in:
Hamza-Ayed
2023-08-10 19:06:22 +03:00
parent f0c90127fe
commit f84c82bcc8
6 changed files with 96 additions and 80 deletions

View File

@@ -1,36 +1,30 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:ride/constant/colors.dart';
import 'package:ride/constant/style.dart';
import '../widgets/my_scafold.dart';
class NotificationPage extends StatelessWidget {
const NotificationPage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: AppColor.secondaryColor,
appBar: AppBar(
backgroundColor: AppColor.secondaryColor,
elevation: 0,
leading: IconButton(
onPressed: () {
Get.back();
},
icon: const Icon(
Icons.arrow_back_ios_new,
color: AppColor.primaryColor,
),
),
title: Text(
'Notificatios'.tr,
style: AppStyle.title.copyWith(fontSize: 30),
return MyScafolld(
title: 'Notifications',
action: IconButton(
onPressed: () {},
icon: const Icon(
Icons.add,
color: AppColor.primaryColor,
),
),
body: Center(
child: TextButton(
onPressed: () {},
child: Text(
"Text Button",
),
),
),
body: SafeArea(
child: Center(
child: null,
)),
);
}
}