|
|
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
|
|
/// End points
|
|
|
|
|
const BASE_URL = 'https://uat.hmgwebservices.com/Services';
|
|
|
|
|
const GET_PROJECT = '/Lists.svc/REST/GetProject';
|
|
|
|
|
const LOGIN = "/Authentication.svc/REST/CheckDriverAuthentication";
|
|
|
|
|
const GET_OPT =
|
|
|
|
|
"/Patients.svc/REST/PatientER_Delivery_SendSMSForForgetPassword";
|
|
|
|
|
const CHECK_ACTIVATION_CODE =
|
|
|
|
|
"/Patients.svc/REST/PatientER_Delivery_CheckActivationCodeForForgetPassword";
|
|
|
|
|
const CHANGE_FORGOT_PASSWORD =
|
|
|
|
|
"/Patients.svc/REST/PatientER_Delivery_ChangeForgetedPasswordForDriver";
|
|
|
|
|
|
|
|
|
|
const GET_ALL_ORDERS = '/Patients.svc/REST/PatientER_Delivery_GetAllOrder';
|
|
|
|
|
const SCAN_QR = '/Patients.svc/REST/PatientER_Delivery_OrderInsert';
|
|
|
|
|
const UPDATE_ORDER_STATUS =
|
|
|
|
|
'/Patients.svc/REST/PatientER_Delivery_UpdateOrderStatus';
|
|
|
|
|
const NEXT_ORDER = "/Patients.svc/REST/PatientER_Delivery_NextOrder";
|
|
|
|
|
|
|
|
|
|
const GET_ALL_DELIVERD_ORDER =
|
|
|
|
|
'/Patients.svc/REST/PatientER_Delivery_GetAllDeliverdOrder';
|
|
|
|
|
const GET_ALL_ORDERS_STATUS =
|
|
|
|
|
'/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],
|
|
|
|
|
);
|