import 'package:diplomaticquarterapp/config/config.dart';
import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/health-weather/health-weather-indicator.dart';
import 'package:diplomaticquarterapp/pages/DrawerPages/family/add-family-member.dart';
import 'package:diplomaticquarterapp/pages/DrawerPages/family/add-family_type.dart';
import 'package:diplomaticquarterapp/pages/DrawerPages/family/my-family.dart';
import 'package:diplomaticquarterapp/pages/TestPage.dart';
import 'package:diplomaticquarterapp/pages/appUpdatePage/app_update_page.dart';
import 'package:diplomaticquarterapp/pages/landing/landing_page.dart';
import 'package:diplomaticquarterapp/pages/livecare/incoming_call.dart';
import 'package:diplomaticquarterapp/pages/livecare/livecare_home.dart';
import 'package:diplomaticquarterapp/pages/login/confirm-login.dart';
import 'package:diplomaticquarterapp/pages/login/forgot-password.dart';
import 'package:diplomaticquarterapp/pages/login/login-type.dart';
import 'package:diplomaticquarterapp/pages/login/login.dart';
import 'package:diplomaticquarterapp/pages/login/register-info.dart';
import 'package:diplomaticquarterapp/pages/login/register.dart';
import 'package:diplomaticquarterapp/pages/login/welcome.dart';
import 'package:diplomaticquarterapp/pages/packages_offers/OfferAndPackagesCartPage.dart';
import 'package:diplomaticquarterapp/pages/packages_offers/PackageOrderCompletedPage.dart';
import 'package:diplomaticquarterapp/pages/pharmacies/screens/cart-page/cart-order-page.dart';
import 'package:diplomaticquarterapp/pages/settings/settings.dart';
import 'package:diplomaticquarterapp/pages/symptom-checker/info.dart';
import 'package:diplomaticquarterapp/pages/symptom-checker/select-gender.dart';
import 'package:diplomaticquarterapp/pages/symptom-checker/symtom-checker.dart';
import 'package:diplomaticquarterapp/pages/webRTC/OpenTok/OpenTok.dart';
import 'package:diplomaticquarterapp/pages/webRTC/call_page.dart';
import 'package:diplomaticquarterapp/pages/webRTC/call_page_bkp.dart';
import 'package:diplomaticquarterapp/splashPage.dart';

const String INIT_ROUTE = '/';
const String HOME = 'home';
const String SPLASH = '/';
const String LOGIN = 'login';
const String WELCOME_LOGIN = 'welcome-login';
const String LOGIN_TYPE = 'login-type';
const String LOGIN_PAGE = 'login-page';
const String FORGOT_PASSWORD = 'forgot-password';
const String REGISTER = 'register';
const String CONFIRM_LOGIN = 'confrim-login';
const String REGISTER_INFO = 'register-info';
const String MY_FAMILIY = 'my-family';
const String ADD_FAMILY_MEMBER_TYPE = 'add-family-member-type';
const String ADD_FAMILY_MEMBER = 'add-family-member';
const String LIVE_CARE = 'live-care';
const String SYMPTOM_CHECKER = 'symptom-checker';
const String SYMPTOM_CHECKER_INFO = 'symptom-checker-info';
const String SELECT_GENDER = 'select-gender';
const String SETTINGS = 'settings';
const String PACKAGES_OFFERS = 'packages-offers';
const String PACKAGES_OFFERS_CART = 'packages-offers-cart';
const String PACKAGES_ORDER_COMPLETED = 'packages-offers-cart';
const String TEST_PAGE = 'test-page';
const String OPENTOK_CALL_PAGE = 'OPENTOK_CALL_PAGE';
const String CART_ORDER_PAGE = 'cart-order-page';
const String CALL_PAGE = 'CALL_PAGE';
const String INCOMING_CALL_PAGE = 'INCOMING_CALL_PAGE';

const String HEALTH_WEATHER = 'health-weather';
const APP_UPDATE = 'app-update';
var routes = {
  SPLASH: (_) => SplashScreen(),
  HOME: (_) => LandingPage(),
  WELCOME_LOGIN: (_) => WelcomeLogin(),
  LOGIN_TYPE: (_) => LoginType(),
  LOGIN_PAGE: (_) => Login(),
  FORGOT_PASSWORD: (_) => ForgotPassword(),
  REGISTER: (_) => Register(),
  CONFIRM_LOGIN: (_) => ConfirmLogin(),
  REGISTER_INFO: (_) => RegisterInfo(),
  MY_FAMILIY: (_) => MyFamily(),
  ADD_FAMILY_MEMBER_TYPE: (_) => AddFamilyMemberType(),
  ADD_FAMILY_MEMBER: (_) => AddMember(),
  LIVE_CARE: (_) => LiveCareHome(),
  SYMPTOM_CHECKER: (_) => SymptomChecker(),
  SYMPTOM_CHECKER_INFO: (_) => SymptomInfo(),
  SELECT_GENDER: (_) => SelectGender(),
  SETTINGS: (_) => Settings(),
  PACKAGES_OFFERS_CART: (_) => PackagesCartPage(),
  PACKAGES_ORDER_COMPLETED: (_) => PackageOrderCompletedPage(),
  TEST_PAGE: (_) => TestPage(),
  HEALTH_WEATHER: (_) => HealthWeatherIndicator(),
  APP_UPDATE: (_) => AppUpdatePage(),
  SETTINGS: (_) => Settings(),
  CART_ORDER_PAGE: (_) => CartOrderPage(),
  CALL_PAGE: (_) => CallPage(),
  INCOMING_CALL_PAGE: (_) => IncomingCall(),
  OPENTOK_CALL_PAGE: (_) => OpenTokConnectCallPage(
      apiKey: OPENTOK_API_KEY,
      sessionId: '1_MX40NjIwOTk2Mn5-MTY0NzE3MzcwNjA0MH55RUJoZnd0ZGh2U3BPc01ENVZBelQvT1Z-fg',
      token: 'T1==cGFydG5lcl9pZD00NjIwOTk2MiZzaWc9M2I4ODYxYTIzMGQ0ZDA3OTYyNDhkODIxNzI5ZjIzODM1NjY2YzExMzpzZXNzaW9uX2lkPTFfTVg0ME5qSXdPVGsyTW41LU1UWTBOekUzTXpjd05qQTBNSDU1UlVKb1puZDBaR2gyVTNCUGMwMUVOVlpCZWxRdlQxWi1mZyZjcmVhdGVfdGltZT0xNjQ3MTczNzA2Jm5vbmNlPTAuMjA3NDI0MzA1NzcwMzY4MiZyb2xlPW1vZGVyYXRvciZleHBpcmVfdGltZT0xNjQ3MjYwMTA2JmluaXRpYWxfbGF5b3V0X2NsYXNzX2xpc3Q9'
  ),
};
