|
|
|
@ -24,6 +24,7 @@ import 'package:mc_common_app/views/setting_options/setting_options_faqs.dart';
|
|
|
|
import 'package:mc_common_app/views/setting_options/setting_options_invite_friends.dart';
|
|
|
|
import 'package:mc_common_app/views/setting_options/setting_options_invite_friends.dart';
|
|
|
|
import 'package:mc_common_app/views/setting_options/setting_options_language.dart';
|
|
|
|
import 'package:mc_common_app/views/setting_options/setting_options_language.dart';
|
|
|
|
import 'package:mc_common_app/views/chat/chat_view.dart';
|
|
|
|
import 'package:mc_common_app/views/chat/chat_view.dart';
|
|
|
|
|
|
|
|
import 'package:mc_common_app/views/branches/branches_filter_view.dart';
|
|
|
|
|
|
|
|
|
|
|
|
class CustomerAppRoutes {
|
|
|
|
class CustomerAppRoutes {
|
|
|
|
static final Map<String, WidgetBuilder> routes = {
|
|
|
|
static final Map<String, WidgetBuilder> routes = {
|
|
|
|
@ -35,13 +36,13 @@ class CustomerAppRoutes {
|
|
|
|
AppRoutes.adsFilterView: (context) => AdsFilterView(),
|
|
|
|
AppRoutes.adsFilterView: (context) => AdsFilterView(),
|
|
|
|
AppRoutes.selectAdTypeView: (context) => SelectAdTypeView(isProvider: ModalRoute.of(context)!.settings.arguments as bool),
|
|
|
|
AppRoutes.selectAdTypeView: (context) => SelectAdTypeView(isProvider: ModalRoute.of(context)!.settings.arguments as bool),
|
|
|
|
AppRoutes.bookAppointmenServicesView: (context) => BookAppointmentServicesView(),
|
|
|
|
AppRoutes.bookAppointmenServicesView: (context) => BookAppointmentServicesView(),
|
|
|
|
AppRoutes.bookAppointmenSchedulesView: (context) => BookAppointmentSchedulesView(
|
|
|
|
AppRoutes.bookAppointmenSchedulesView: (context) =>
|
|
|
|
screenArgumentsForAppointmentDetailPage: ModalRoute.of(context)!.settings.arguments as ScreenArgumentsForAppointmentDetailPage,
|
|
|
|
BookAppointmentSchedulesView(screenArgumentsForAppointmentDetailPage: ModalRoute.of(context)!.settings.arguments as ScreenArgumentsForAppointmentDetailPage),
|
|
|
|
),
|
|
|
|
|
|
|
|
AppRoutes.bookAppointmentsItemView: (context) => BookAppointmentsItemView(),
|
|
|
|
AppRoutes.bookAppointmentsItemView: (context) => BookAppointmentsItemView(),
|
|
|
|
AppRoutes.reviewAppointmentView: (context) => ReviewAppointment(),
|
|
|
|
AppRoutes.reviewAppointmentView: (context) => ReviewAppointment(),
|
|
|
|
AppRoutes.paymentMethodsView: (context) => PaymentMethodsView(paymentType: ModalRoute.of(context)!.settings.arguments as PaymentTypes),
|
|
|
|
AppRoutes.paymentMethodsView: (context) => PaymentMethodsView(paymentType: ModalRoute.of(context)!.settings.arguments as PaymentTypes),
|
|
|
|
AppRoutes.branchDetailPage: (context) => BranchDetailPage(branchDetailModel: ModalRoute.of(context)!.settings.arguments as BranchDetailModel),
|
|
|
|
AppRoutes.branchDetailPage: (context) => BranchDetailPage(branchDetailModel: ModalRoute.of(context)!.settings.arguments as BranchDetailModel),
|
|
|
|
|
|
|
|
AppRoutes.branchSearchFilterPage: (context) => BranchesFilterView(),
|
|
|
|
AppRoutes.providerProfilePage: (context) => ProviderProfilePage(providerId: ModalRoute.of(context)!.settings.arguments as int),
|
|
|
|
AppRoutes.providerProfilePage: (context) => ProviderProfilePage(providerId: ModalRoute.of(context)!.settings.arguments as int),
|
|
|
|
AppRoutes.offersListPage: (context) => OfferListPage(offerListPageArguments: ModalRoute.of(context)!.settings.arguments as OfferListPageArguments),
|
|
|
|
AppRoutes.offersListPage: (context) => OfferListPage(offerListPageArguments: ModalRoute.of(context)!.settings.arguments as OfferListPageArguments),
|
|
|
|
AppRoutes.createRequestPage: (context) => CreateRequestPage(),
|
|
|
|
AppRoutes.createRequestPage: (context) => CreateRequestPage(),
|
|
|
|
|