This commit is contained in:
Hamza-Ayed
2024-11-09 10:49:04 +02:00
parent fc81405b7a
commit 213c2724aa
44 changed files with 3009 additions and 1130 deletions

View File

@@ -8,6 +8,7 @@ import 'package:SEFER/views/widgets/my_scafold.dart';
import 'HomePage/about_page.dart';
import 'HomePage/frequentlyQuestionsPage.dart';
import 'HomePage/share_app_page.dart';
import 'HomePage/trip_record_page.dart';
import 'profile/passenger_profile_page.dart';
@@ -21,7 +22,7 @@ class HomePage extends StatelessWidget {
isleading: true,
title: 'Home Page'.tr,
body: [
Column(
ListView(
children: [
ListTile(
onTap: () {
@@ -116,6 +117,19 @@ class HomePage extends StatelessWidget {
),
onTap: () => Get.to(() => const AboutPage()),
),
ListTile(
leading: const Icon(Icons.share),
title: Text(
'Share App'.tr,
style: AppStyle.headTitle2,
),
subtitle: Text(
'You can share the SEFER App with your friends and earn rewards for rides they take using your code'
.tr,
style: AppStyle.title,
),
onTap: () => Get.to(() => ShareAppPage()),
),
],
),
],