Update: 2026-07-12 17:46:46
This commit is contained in:
@@ -7,7 +7,7 @@ import 'colors.dart';
|
|||||||
class AppStyle {
|
class AppStyle {
|
||||||
static TextStyle get headTitle => TextStyle(
|
static TextStyle get headTitle => TextStyle(
|
||||||
fontWeight: FontWeight.bold,
|
fontWeight: FontWeight.bold,
|
||||||
fontSize: 36,
|
fontSize: box.read(BoxName.lang) == 'ar' ? 36 : 28,
|
||||||
color: AppColor.accentColor,
|
color: AppColor.accentColor,
|
||||||
fontFamily: box.read(BoxName.lang) == 'ar'
|
fontFamily: box.read(BoxName.lang) == 'ar'
|
||||||
// ?GoogleFonts.markaziText().fontFamily
|
// ?GoogleFonts.markaziText().fontFamily
|
||||||
@@ -15,21 +15,21 @@ class AppStyle {
|
|||||||
: GoogleFonts.inter().fontFamily);
|
: GoogleFonts.inter().fontFamily);
|
||||||
static TextStyle get headTitle2 => TextStyle(
|
static TextStyle get headTitle2 => TextStyle(
|
||||||
fontWeight: FontWeight.bold,
|
fontWeight: FontWeight.bold,
|
||||||
fontSize: 24,
|
fontSize: box.read(BoxName.lang) == 'ar' ? 24 : 20,
|
||||||
color: AppColor.writeColor,
|
color: AppColor.writeColor,
|
||||||
fontFamily: box.read(BoxName.lang) == 'ar'
|
fontFamily: box.read(BoxName.lang) == 'ar'
|
||||||
? GoogleFonts.markaziText().fontFamily
|
? GoogleFonts.markaziText().fontFamily
|
||||||
: GoogleFonts.inter().fontFamily);
|
: GoogleFonts.inter().fontFamily);
|
||||||
static TextStyle get title => TextStyle(
|
static TextStyle get title => TextStyle(
|
||||||
fontWeight: FontWeight.normal,
|
fontWeight: FontWeight.normal,
|
||||||
fontSize: 16,
|
fontSize: box.read(BoxName.lang) == 'ar' ? 16 : 14,
|
||||||
color: AppColor.writeColor,
|
color: AppColor.writeColor,
|
||||||
fontFamily: box.read(BoxName.lang) == 'ar'
|
fontFamily: box.read(BoxName.lang) == 'ar'
|
||||||
? GoogleFonts.markaziText().fontFamily
|
? GoogleFonts.markaziText().fontFamily
|
||||||
: GoogleFonts.inter().fontFamily);
|
: GoogleFonts.inter().fontFamily);
|
||||||
static TextStyle get subtitle => TextStyle(
|
static TextStyle get subtitle => TextStyle(
|
||||||
fontWeight: FontWeight.bold,
|
fontWeight: FontWeight.bold,
|
||||||
fontSize: 12,
|
fontSize: box.read(BoxName.lang) == 'ar' ? 12 : 11,
|
||||||
color: AppColor.writeColor,
|
color: AppColor.writeColor,
|
||||||
fontFamily: box.read(BoxName.lang) == 'ar'
|
fontFamily: box.read(BoxName.lang) == 'ar'
|
||||||
? GoogleFonts.markaziText().fontFamily
|
? GoogleFonts.markaziText().fontFamily
|
||||||
|
|||||||
@@ -84,7 +84,6 @@ class MapPagePassenger extends StatelessWidget {
|
|||||||
const VipRideBeginPassenger(),
|
const VipRideBeginPassenger(),
|
||||||
const RideFromStartApp(),
|
const RideFromStartApp(),
|
||||||
PointsPageForRider(),
|
PointsPageForRider(),
|
||||||
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@@ -162,8 +161,7 @@ class CancelRidePageShow extends StatelessWidget {
|
|||||||
|
|
||||||
return showCancelButton
|
return showCancelButton
|
||||||
? Positioned(
|
? Positioned(
|
||||||
right: box.read(BoxName.lang) == 'ar' ? 10 : null,
|
right: 10,
|
||||||
left: box.read(BoxName.lang) != 'ar' ? 10 : null,
|
|
||||||
top: Get.height * .013,
|
top: Get.height * .013,
|
||||||
child: GestureDetector(
|
child: GestureDetector(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
|
|||||||
@@ -165,11 +165,15 @@ class MyCreditCardWidget extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: Get.width * .25,
|
width: Get.width * .25,
|
||||||
|
child: FittedBox(
|
||||||
|
fit: BoxFit.scaleDown,
|
||||||
|
alignment: AlignmentDirectional.centerStart,
|
||||||
child: Text(
|
child: Text(
|
||||||
'Card Number'.tr,
|
'Card Number'.tr,
|
||||||
style: AppStyle.title,
|
style: AppStyle.title,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: Get.width * .03,
|
width: Get.width * .03,
|
||||||
),
|
),
|
||||||
@@ -210,11 +214,15 @@ class MyCreditCardWidget extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: Get.width * .25,
|
width: Get.width * .25,
|
||||||
|
child: FittedBox(
|
||||||
|
fit: BoxFit.scaleDown,
|
||||||
|
alignment: AlignmentDirectional.centerStart,
|
||||||
child: Text(
|
child: Text(
|
||||||
'Holder Name',
|
'Holder Name'.tr,
|
||||||
style: AppStyle.title,
|
style: AppStyle.title,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: Get.width * .03,
|
width: Get.width * .03,
|
||||||
),
|
),
|
||||||
@@ -257,11 +265,15 @@ class MyCreditCardWidget extends StatelessWidget {
|
|||||||
children: [
|
children: [
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: Get.width * .2,
|
width: Get.width * .2,
|
||||||
|
child: FittedBox(
|
||||||
|
fit: BoxFit.scaleDown,
|
||||||
|
alignment: AlignmentDirectional.centerStart,
|
||||||
child: Text(
|
child: Text(
|
||||||
'Expiry Date',
|
'Expiry Date'.tr,
|
||||||
style: AppStyle.subtitle,
|
style: AppStyle.subtitle,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: Get.width * .1,
|
width: Get.width * .1,
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
@@ -300,11 +312,15 @@ class MyCreditCardWidget extends StatelessWidget {
|
|||||||
children: [
|
children: [
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: Get.width * .2,
|
width: Get.width * .2,
|
||||||
|
child: FittedBox(
|
||||||
|
fit: BoxFit.scaleDown,
|
||||||
|
alignment: AlignmentDirectional.centerStart,
|
||||||
child: Text(
|
child: Text(
|
||||||
'CVV Code',
|
'CVV Code'.tr,
|
||||||
style: AppStyle.subtitle,
|
style: AppStyle.subtitle,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: Get.width * .2,
|
width: Get.width * .2,
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
|
|||||||
Reference in New Issue
Block a user