This commit is contained in:
Hamza-Ayed
2023-08-04 15:06:57 +03:00
parent b44928bfb8
commit 5a7c09eb06
227 changed files with 6003 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
class BoxName {
static const String driverID = "driverID";
static const String lang = "lang";
}

7
lib/constant/colors.dart Normal file
View File

@@ -0,0 +1,7 @@
import 'package:flutter/material.dart';
class AppColor {
static const Color primaryColor = Colors.black;
static const Color secondaryColor = Colors.white;
static const Color accentColor = Colors.grey;
}

View File

@@ -0,0 +1,12 @@
import 'dart:convert';
class AppCredintials {
static const String basicAuthCredentials = 'hamzaayedphp:malDEV@2101';
static const String serverAPI =
'AAAAinYllCo:APA91bF1shTpzSsSxqbfY6c60D8zs1ZsdIsl9ix6nl7GDdjCqWPRK0G0ub5SqFdb1jDpQDvQPxGg-697MWLo0sy3oYImBwBLObyhk0GjtNzyr0PbE3hI-pOvhf8Vp1xgUgBmofbZYXkH';
// static const String mapAPIKEY = 'AIzaSyC1pjEgB78OFz_-2nwTvGltHjXho0y99MY';
static const String mapAPIKEY = 'AIzaSyCyfwRXTwSTLOFQSQgN5p7QZgGJVZnEKq0';
String getBasicAuthCredentials() {
return base64Encode(utf8.encode(basicAuthCredentials));
}
}

7
lib/constant/info.dart Normal file
View File

@@ -0,0 +1,7 @@
class Fleek {
static const String companyName = 'Fleek-tech';
static const String phoneNumber = '962798583052';
static const String linkedInProfile =
'https://www.linkedin.com/in/hamza-ayed/';
static const String website = 'https://mobile-app.store';
}

25
lib/constant/links.dart Normal file
View File

@@ -0,0 +1,25 @@
class AppLink {
static const String server = 'https://ride.mobile-app.store/';
static const String test = "$server/test.php";
static const String pathImage = "$server/upload/types/";
static const String uploadImage = "$server/uploadImage.php";
static const String uploadImageType = "$server/uploadImageType.php";
//==================certifcate==========
static const String certifcate =
'https://portfolio.mobile-app.store/hamzaayed/certifications';
static const String getCertificate = "$certifcate/get.php";
static const String addCertificate = "$certifcate/add.php";
static const String deleteCertificate = "$certifcate/delete.php";
static const String updateCertificate = "$certifcate/update.php";
//==================Blog=============
static const String blog =
'https://portfolio.mobile-app.store/hamzaayed/blogs';
static const String getBlog = "$blog/get.php";
static const String addBlog = "$blog/add.php";
static const String deleteBlog = "$blog/delete.php";
static const String updateBlog = "$blog/update.php";
}

31
lib/constant/style.dart Normal file
View File

@@ -0,0 +1,31 @@
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'colors.dart';
class AppStyle {
static TextStyle headTitle = TextStyle(
fontWeight: FontWeight.bold,
fontSize: 40,
color: AppColor.accentColor,
fontFamily: GoogleFonts.pacifico().fontFamily);
static TextStyle headtitle2 = TextStyle(
fontWeight: FontWeight.bold,
fontSize: 26,
color: AppColor.primaryColor,
fontFamily: GoogleFonts.eduSaBeginner().fontFamily);
static TextStyle title = TextStyle(
fontWeight: FontWeight.bold,
fontSize: 16,
color: AppColor.primaryColor,
fontFamily: GoogleFonts.roboto().fontFamily);
static TextStyle subtitle = TextStyle(
fontWeight: FontWeight.bold,
fontSize: 13,
color: AppColor.primaryColor,
fontFamily: GoogleFonts.roboto().fontFamily);
static TextStyle number = TextStyle(
fontWeight: FontWeight.bold,
fontSize: 20,
color: AppColor.primaryColor,
fontFamily: GoogleFonts.roboto().fontFamily);
}