المجلدات وأسماء حزم dart واستيراداتها: siro_rider → intaleq_rider siro_driver → intaleq_driver siro_admin → intaleq_admin siro_service → intaleq_service شمل ذلك `name:` في كل pubspec وكل `package:siro_*` في الاستيرادات (115 ملفاً في rider وحده)، وإشارات أسماء المجلدات في docs/ وتعليق في backend/Admin/notifications/broadcast.php. لم تبقَ إشارة واحدة (تحقّقت). + ضُمّت حزم get و get_storage داخل intaleq_driver/packages/ وحُوّلت مساراتها الثلاثة من `../../Intaleq/packages/*` إلى `./packages/*`. كانت تُحل عرضاً إلى مجلد App/Intaleq القديم المجاور — تبعية خارج المستودع تنكسر بأول نقل. لم يبقَ في أي تطبيق تبعية مسار خارج الشجرة. ⚠️ لم تُمسّ بعد: هويات المتاجر (applicationId · PRODUCT_BUNDLE_IDENTIFIER · shorebird app_id) ولا الألوان ولا النصوص المرئية ولا النطاقات — كل منها كوميت منفصل، والهويات تحتاج قرار المالك. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
146 lines
5.4 KiB
Dart
Executable File
146 lines
5.4 KiB
Dart
Executable File
import 'package:intaleq_driver/views/widgets/my_scafold.dart';
|
|
import 'package:intaleq_driver/views/widgets/mydialoug.dart';
|
|
import 'package:flutter/cupertino.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:get/get.dart';
|
|
|
|
import '../../../../constant/style.dart';
|
|
|
|
class FrequentlyQuestionsPage extends StatelessWidget {
|
|
const FrequentlyQuestionsPage({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
String selectedPayment = 'cash'; // Replace with your initial selection
|
|
bool canCancelRide = false;
|
|
return MyScafolld(
|
|
title: 'Frequently Questions'.tr,
|
|
body: [
|
|
Padding(
|
|
padding: const EdgeInsets.all(8.0),
|
|
child: ListView(
|
|
children: [
|
|
// Question 1: How do I request a ride?
|
|
ExpansionTile(
|
|
title: Text(
|
|
'How do I request a ride?'.tr,
|
|
style: AppStyle.title,
|
|
),
|
|
children: [
|
|
Text(
|
|
'Step-by-step instructions on how to request a ride through the Siro app.'
|
|
.tr,
|
|
style: AppStyle.title,
|
|
),
|
|
],
|
|
),
|
|
|
|
// Question 2: What types of vehicles are available?
|
|
ExpansionTile(
|
|
title: Text(
|
|
'What types of vehicles are available?'.tr,
|
|
style: AppStyle.title,
|
|
),
|
|
children: [
|
|
Text(
|
|
'Siro offers a variety of vehicle options to suit your needs, including economy, comfort, and luxury. Choose the option that best fits your budget and passenger count.'
|
|
.tr,
|
|
style: AppStyle.title,
|
|
),
|
|
],
|
|
),
|
|
|
|
// Question 3: How can I pay for my ride?
|
|
ExpansionTile(
|
|
title: Text(
|
|
'How can I pay for my ride?'.tr,
|
|
style: AppStyle.title,
|
|
),
|
|
children: [
|
|
Text(
|
|
'Siro offers multiple payment methods for your convenience. Choose between cash payment or credit/debit card payment during ride confirmation.'
|
|
.tr,
|
|
style: AppStyle.title,
|
|
),
|
|
],
|
|
),
|
|
|
|
// Question 4: Can I cancel my ride? (if applicable)
|
|
ExpansionTile(
|
|
title: Text(
|
|
'Can I cancel my ride?'.tr,
|
|
style: AppStyle.title,
|
|
),
|
|
children: [
|
|
Text(
|
|
'Yes, you can cancel your ride under certain conditions (e.g., before driver is assigned). See the Siro cancellation policy for details.'
|
|
.tr,
|
|
style: AppStyle.title,
|
|
),
|
|
],
|
|
),
|
|
|
|
// Question 5 & 6: Driver-specific questions
|
|
ExpansionTile(
|
|
title: Text(
|
|
'Driver Registration & Requirements'.tr,
|
|
style: AppStyle.title,
|
|
),
|
|
children: [
|
|
Text(
|
|
'${'How can I register as a driver?'.tr}\n${'What are the requirements to become a driver?'.tr}',
|
|
style: AppStyle.title,
|
|
),
|
|
InkWell(
|
|
onTap: () {
|
|
MyDialog().getDialog('title', 'midTitle', () {
|
|
; //todo add in this dialog papers for driver
|
|
});
|
|
},
|
|
child: Text(
|
|
'Visit our website or contact Siro support for information on driver registration and requirements.'
|
|
.tr,
|
|
style: AppStyle.title,
|
|
),
|
|
),
|
|
],
|
|
),
|
|
|
|
// Question 7: How do I communicate with the other party?
|
|
ExpansionTile(
|
|
title: Text(
|
|
'How do I communicate with the other party (passenger/driver)?'
|
|
.tr,
|
|
style: AppStyle.title,
|
|
),
|
|
children: [
|
|
Text(
|
|
'Siro provides in-app chat functionality to allow you to communicate with your driver or passenger during your ride.'
|
|
.tr,
|
|
style: AppStyle.title,
|
|
),
|
|
],
|
|
),
|
|
|
|
// Question 8: What safety measures does Siro offer?
|
|
ExpansionTile(
|
|
title: Text(
|
|
'What safety measures does Siro offer?'.tr,
|
|
style: AppStyle.title,
|
|
),
|
|
children: [
|
|
Text(
|
|
'Siro prioritizes your safety. We offer features like driver verification, in-app trip tracking, and emergency contact options.'
|
|
.tr,
|
|
style: AppStyle.title,
|
|
),
|
|
],
|
|
),
|
|
],
|
|
),
|
|
)
|
|
],
|
|
isleading: true);
|
|
}
|
|
}
|