7/31/1
This commit is contained in:
@@ -4,6 +4,9 @@ class BoxName {
|
||||
static const String googlaMapApp = "googlaMapApp";
|
||||
|
||||
static const String lang = "lang";
|
||||
static const String myListString = "myListString";
|
||||
static const String myList = "myList";
|
||||
static const String bodyOrder = "bodyOrder";
|
||||
static const String gender = "gender";
|
||||
static const String carType = "carType";
|
||||
static const String isFirstTime = "isFirstTime";
|
||||
|
||||
@@ -21,8 +21,9 @@ class AppColor {
|
||||
|
||||
// For dynamic elements like gradients
|
||||
static List<Color> gradientStartEnd = [
|
||||
const Color(0xFF1DA1F2), // Start with primary color
|
||||
const Color(0xFF0C7ABF), // End with a slightly darker shade of Twitter blue
|
||||
Color.fromARGB(255, 40, 158, 232), // Start with primary color
|
||||
Color.fromARGB(
|
||||
255, 44, 63, 75), // End with a slightly darker shade of Twitter blue
|
||||
];
|
||||
|
||||
static List<Color> secondaryGradientStartEnd = [
|
||||
|
||||
@@ -257,6 +257,9 @@ class AppLink {
|
||||
static String sendmany = "https://sms.kazumi.me/api/sms/send-many";
|
||||
static String checkCredit = "https://sms.kazumi.me/api/sms/check-credit";
|
||||
static String checkStatus = "https://sms.kazumi.me/api/sms/check-status";
|
||||
static String getSender = "$server/auth/sms/getSender.php";
|
||||
static String updatePhoneInvalidSMS =
|
||||
"$server/auth/sms/updatePhoneInvalidSMS.php";
|
||||
|
||||
//////////////service///////////
|
||||
|
||||
|
||||
@@ -10,29 +10,30 @@ class AppStyle {
|
||||
fontSize: 40,
|
||||
color: AppColor.accentColor,
|
||||
fontFamily: box.read(BoxName.lang) == 'ar'
|
||||
? 'mohanad'
|
||||
: GoogleFonts.josefinSans().fontFamily);
|
||||
// ?GoogleFonts.notoNaskhArabic().fontFamily
|
||||
? GoogleFonts.notoNaskhArabic().fontFamily
|
||||
: GoogleFonts.roboto().fontFamily);
|
||||
static TextStyle headTitle2 = TextStyle(
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 26,
|
||||
color: AppColor.writeColor,
|
||||
fontFamily: box.read(BoxName.lang) == 'ar'
|
||||
? 'mohanad'
|
||||
: GoogleFonts.josefinSans().fontFamily);
|
||||
? GoogleFonts.notoNaskhArabic().fontFamily
|
||||
: GoogleFonts.roboto().fontFamily);
|
||||
static TextStyle title = TextStyle(
|
||||
fontWeight: FontWeight.normal,
|
||||
fontSize: box.read(BoxName.lang) == 'ar' ? 14 : 16,
|
||||
color: AppColor.writeColor,
|
||||
fontFamily: box.read(BoxName.lang) == 'ar'
|
||||
? 'mohanad'
|
||||
: GoogleFonts.josefinSans().fontFamily);
|
||||
? GoogleFonts.notoNaskhArabic().fontFamily
|
||||
: GoogleFonts.roboto().fontFamily);
|
||||
static TextStyle subtitle = TextStyle(
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 13,
|
||||
color: AppColor.writeColor,
|
||||
fontFamily: box.read(BoxName.lang) == 'ar'
|
||||
? 'mohanad'
|
||||
: GoogleFonts.josefinSans().fontFamily);
|
||||
? GoogleFonts.notoNaskhArabic().fontFamily
|
||||
: GoogleFonts.roboto().fontFamily);
|
||||
static TextStyle number = const TextStyle(
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 14,
|
||||
@@ -42,9 +43,9 @@ class AppStyle {
|
||||
static BoxDecoration boxDecoration = const BoxDecoration(
|
||||
boxShadow: [
|
||||
BoxShadow(
|
||||
color: AppColor.accentColor, blurRadius: 2, offset: Offset(1, 2)),
|
||||
color: AppColor.accentColor, blurRadius: 5, offset: Offset(2, 4)),
|
||||
BoxShadow(
|
||||
color: AppColor.accentColor, blurRadius: 2, offset: Offset(-1, -1))
|
||||
color: AppColor.accentColor, blurRadius: 5, offset: Offset(-2, -2))
|
||||
],
|
||||
color: AppColor.secondaryColor,
|
||||
borderRadius: BorderRadius.all(
|
||||
@@ -53,9 +54,13 @@ class AppStyle {
|
||||
static BoxDecoration boxDecoration1 = const BoxDecoration(
|
||||
boxShadow: [
|
||||
BoxShadow(
|
||||
color: AppColor.accentColor, blurRadius: 2, offset: Offset(1, 2)),
|
||||
color: Color.fromARGB(255, 237, 230, 230),
|
||||
blurRadius: 5,
|
||||
offset: Offset(2, 4)),
|
||||
BoxShadow(
|
||||
color: AppColor.accentColor, blurRadius: 2, offset: Offset(-1, -1))
|
||||
color: Color.fromARGB(255, 242, 237, 237),
|
||||
blurRadius: 5,
|
||||
offset: Offset(-2, -2))
|
||||
],
|
||||
color: AppColor.secondaryColor,
|
||||
borderRadius: BorderRadius.all(
|
||||
|
||||
@@ -6,4 +6,5 @@ class TableName {
|
||||
static const String rideLocation = "rideLocation";
|
||||
static const String faceDetectTimes = "faceDetectTimes";
|
||||
static const String captainNotification = "captainNotification";
|
||||
static const String applyRideFromOverLay = "applyRideFromOverLay";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user