base_project
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
class ApiConstants {
|
||||
// USER AUTH API'S //
|
||||
static const loginEndpoint = "$baseUrl/token/session";
|
||||
static const getOtpEndpoint = "$baseUrl/token/user/send_email";
|
||||
static const resendOtpEndpoint = "$baseUrl/token/user/resend_otp";
|
||||
static const verifyEndpoint = "$baseUrl/token/user/otp_verification";
|
||||
static const createUserEndpoint = "$baseUrl/token/addOneAppUser";
|
||||
static const createAcEndpoint =
|
||||
"$baseUrl/token/users/sysaccount/savesysaccount";
|
||||
static const updateAcEndpoint =
|
||||
"$baseUrl/token/users/sysaccount/savesysaccount"; // PUT {accId}
|
||||
|
||||
// PROFILE API'S //
|
||||
static const getUserProfileEndpoint = '$baseUrl/api/user-profile';
|
||||
static const getUserProfileImgEndpoint = '$baseUrl/api/retrieve-image';
|
||||
static const updateUserProfileEndpoint = '$baseUrl/api/updateAppUserDto';
|
||||
static const updateUserProfileImgEndpoint = '$baseUrl/api/upload';
|
||||
static const changePasswordEndpoint = '$baseUrl/api/reset_password';
|
||||
static const forgotPasswordEndpoint = '$baseUrl/api/resources/forgotpassword';
|
||||
|
||||
// SYSTEM PARAMS API'S //
|
||||
static const uploadSystemParamImg = '$baseUrl/api/logos/upload?ref=test';
|
||||
static const getSystemParameters = '$baseUrl/sysparam/getSysParams';
|
||||
static const updateSystemParams = '$baseUrl/sysparam/updateSysParams';
|
||||
|
||||
static const baseUrl = 'http://localhost:9292';
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class AppColors{
|
||||
|
||||
// App Main Colors
|
||||
static const Color primary = Color.fromARGB(255, 8, 50, 112); // Vibrant blue
|
||||
static const Color primary2 = Color(0xff7647EB); // Purple
|
||||
static const Color accent = Color(0xffb88cec); // Soft Lavender
|
||||
static const Color secondary = Color(0xffD2D8EC); // Soft Blue-Gray
|
||||
|
||||
// Additional Colors
|
||||
static const Color complementary = Color(0xffFFA726); // Vibrant Orange
|
||||
static const Color neutral = Color(0xffF5F5F5); // Light Gray or White
|
||||
static const Color darkContrast = Color(0xff212121); // Charcoal Gray
|
||||
|
||||
|
||||
|
||||
// Text colors
|
||||
static const Color textPrimary = Color(0xff282D40);
|
||||
static const Color textSecondary = Color (0xffCACCD1);
|
||||
static const Color textWhite = Colors.white;
|
||||
|
||||
|
||||
// Background colors
|
||||
static const Color background = Color(0xfff6f6f6);
|
||||
static const Color btmNavBackground = Color(0xffededed);
|
||||
static const Color tint = Color(0xffFFFFFF);
|
||||
static Color? appbarBg = Colors.grey[900];
|
||||
|
||||
// Button colors punch in and out
|
||||
static const Color clockInButtonColor1 = Color(0xfff84756);
|
||||
static const Color clockInButtonColor2 = Color(0xfff42f40);
|
||||
|
||||
static const Color clockOutButtonColor1 = Color(0xff4CAF50);
|
||||
static const Color clockOutButtonColor2 = Color(0xff2E7D32);
|
||||
|
||||
// Button colors break in and out
|
||||
static const Color startBreakBtnColor1 = Color(0xfff88b47);
|
||||
static const Color startBreakBtnColor2 = Color(0xfff45d2f);
|
||||
|
||||
static const Color endBreakBtnColor1 = Color(0xff2d49d6);
|
||||
static const Color endBreakBtnColor2 = Color(0xFF1976D2);
|
||||
|
||||
// Validation colors
|
||||
static const Color error = Color(0xffFF4C4C);
|
||||
static const Color errorAccent = Color(0xffFFDBDB);
|
||||
static const Color successAccent = Color(0xffDBFFEC);
|
||||
static const Color success = Color(0xff00D261);
|
||||
static const Color warning = Color (0xFFF57C00);
|
||||
static const Color info = Color (0xFF1976D2);
|
||||
|
||||
// Neutral shades
|
||||
static const Color grey = Color(0xff9E9E9E);
|
||||
static const Color lightGrey = Color(0xffBDBDBD);
|
||||
static const Color darkGrey = Color(0xff757575);
|
||||
static const Color darkGrey2 = Color(0xff2e2e2e);
|
||||
|
||||
// Admin Card color
|
||||
static const List<Color> breakIndicator = [Color(0xffdd5c0c),Color(0xffff6200)];
|
||||
static const List<Color> presentIndicator = [Color(0xff2ca63c), Color(0xff1f8f2d)];
|
||||
static const List<Color> absentIndicator = [Color(0xffc51f1f),Color(0xffea2424)];
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user