import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; /// End points const isUAT = true; const BASE_URL = 'https://${isUAT ? "uat." : ""}hmgwebservices.com/'; const PING_SERVICE = '/Services/Weather.svc/REST/CheckConnectivity'; const GET_PROJECT = '/Services/Lists.svc/REST/GetProject'; const LOGIN = "/Services/Authentication.svc/REST/CheckDriverAuthentication"; const GET_OPT = "/Services/Patients.svc/REST/PatientER_Delivery_SendSMSForForgetPassword"; const CHECK_ACTIVATION_CODE = "/Services/Patients.svc/REST/PatientER_Delivery_CheckActivationCodeForForgetPassword"; const CHANGE_FORGOT_PASSWORD = "/Services/Patients.svc/REST/PatientER_Delivery_ChangeForgetedPasswordForDriver"; const GET_ALL_ORDERS = '/Services/Patients.svc/REST/PatientER_Delivery_GetAllOrder'; const SCAN_QR = '/Services/Patients.svc/REST/PatientER_Delivery_OrderInsert'; const UPDATE_ORDER_STATUS = '/Services/Patients.svc/REST/PatientER_Delivery_UpdateOrderStatus'; const NEXT_ORDER = "/Services/Patients.svc/REST/PatientER_Delivery_NextOrder"; const UPDATE_DRIVER_LOCATION = "/Services/Patients.svc/REST/PatientER_DriverLocation_Insert"; const INITIATE_DELIVERY = "/epharmacy/api/sendsmstocustomerfordriver"; const VERIFY_DELIVERY = "/Services/Patients.svc/REST/PatientER_ValidateSentOutForDeliveryOTPCode"; const GET_ALL_DELIVERD_ORDER = '/Services/Patients.svc/REST/PatientER_Delivery_GetAllDeliverdOrder'; const GET_ALL_ORDERS_STATUS = '/Services/Patients.svc/REST/PatientER_Delivery_GetAllOrderstatus'; /// Body Constant const CHANNEL = 9; const VERSION_ID = 8.3; /// design constant const MAX_SMALL_SCREEN = 660; class AppGlobal { static BuildContext context; } const LINEAR_GRADIENT = LinearGradient( colors: [ Color(0xff45B7AE), Color(0xff119FA9), ], // stops: [0.0, 1.0], ); abstract class DeliveryStatus{ static final int pending = 1; static final int delivered = 2; static final int rejected = 3; static final int cancel = 4; }