25-10-11/1

This commit is contained in:
Hamza-Ayed
2025-10-11 01:25:03 +03:00
parent ea55a25af2
commit 14484fcd8f
13 changed files with 31 additions and 27 deletions

View File

@@ -17,17 +17,17 @@ class CarsInsertingPage extends StatelessWidget {
Widget build(BuildContext context) {
Get.put(AI());
return MyScafolld(
title: 'Insert New Car'.tr,
title: "Add new car".tr,
body: [
Container(
color: AppColor.accentColor.withOpacity(.2),
child: Padding(
padding: const EdgeInsets.all(8.0),
padding: const EdgeInsets.all(22),
child: ListView(
// crossAxisAlignment: CrossAxisAlignment.center,
children: [
egyptCarLicenceFront(),
egyptCarLicenceBack(),
syriaCarLicenceFront(),
syriaCarLicenceBack(),
const SizedBox(height: 10),
Text('Please make sure to read the license carefully.'.tr),
Text(
@@ -66,7 +66,7 @@ class CarsInsertingPage extends StatelessWidget {
}
}
GetBuilder<AI> egyptCarLicenceFront() {
GetBuilder<AI> syriaCarLicenceFront() {
return GetBuilder<AI>(
builder: (ai) {
if (ai.responseIdCardDriverEgyptFront.isNotEmpty) {
@@ -162,7 +162,7 @@ GetBuilder<AI> egyptCarLicenceFront() {
);
}
GetBuilder<AI> egyptCarLicenceBack() {
GetBuilder<AI> syriaCarLicenceBack() {
return GetBuilder<AI>(
builder: (ai) {
if (ai.responseIdCardDriverEgyptBack.isNotEmpty) {