|
|
|
|
@ -52,7 +52,7 @@ class HomeFragment extends StatelessWidget {
|
|
|
|
|
// 10.width,
|
|
|
|
|
],
|
|
|
|
|
).toViewOnly(context, onTap: () {
|
|
|
|
|
navigateWithName(context, AppRoutes.loginWithPassword);
|
|
|
|
|
navigateWithName(context, AppRoutes.loginWithPassword, arguments: false);
|
|
|
|
|
}),
|
|
|
|
|
body: SizedBox(
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
@ -72,14 +72,17 @@ class HomeFragment extends StatelessWidget {
|
|
|
|
|
context.read<AppointmentsVM>().applyFilterOnAppointmentsVMForCustomers(appointmentStatusEnum: AppointmentStatusEnum.allAppointments);
|
|
|
|
|
},
|
|
|
|
|
).horPaddingMain().toViewOnly(context, onTap: () {
|
|
|
|
|
navigateWithName(context, AppRoutes.loginWithPassword);
|
|
|
|
|
navigateWithName(context, AppRoutes.loginWithPassword, arguments: false);
|
|
|
|
|
}),
|
|
|
|
|
CommonAppointmentSliderWidget()
|
|
|
|
|
.toWhiteContainer(
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
backgroundColor: Colors.transparent,
|
|
|
|
|
)
|
|
|
|
|
.margin(left: 21, right: 21),
|
|
|
|
|
.margin(left: 21, right: 21)
|
|
|
|
|
.toViewOnly(context, onTap: () {
|
|
|
|
|
navigateWithName(context, AppRoutes.loginWithPassword, arguments: false);
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
|
|
// SERVICES SECTION
|
|
|
|
|
14.height,
|
|
|
|
|
@ -96,7 +99,7 @@ class HomeFragment extends StatelessWidget {
|
|
|
|
|
subTitle: '',
|
|
|
|
|
onSubtitleTapped: () {},
|
|
|
|
|
).horPaddingMain().toViewOnly(context, onTap: () {
|
|
|
|
|
navigateWithName(context, AppRoutes.loginWithPassword);
|
|
|
|
|
navigateWithName(context, AppRoutes.loginWithPassword, arguments: false);
|
|
|
|
|
}),
|
|
|
|
|
MyServicesCategoriesWidget(homeCategories: appointmentVM.branchesCategoriesFilterOptions).horPaddingMain()
|
|
|
|
|
],
|
|
|
|
|
@ -168,7 +171,7 @@ class HomeFragment extends StatelessWidget {
|
|
|
|
|
context.read<DashboardVmCustomer>().onNavbarTapped(3);
|
|
|
|
|
context.read<AdVM>().updateIsExploreAds(false);
|
|
|
|
|
}).horPaddingMain().toViewOnly(context, onTap: () {
|
|
|
|
|
navigateWithName(context, AppRoutes.loginWithPassword);
|
|
|
|
|
navigateWithName(context, AppRoutes.loginWithPassword, arguments: false);
|
|
|
|
|
}),
|
|
|
|
|
AdsListWidget(
|
|
|
|
|
shouldShowAdStatus: true,
|
|
|
|
|
@ -177,7 +180,7 @@ class HomeFragment extends StatelessWidget {
|
|
|
|
|
scrollPhysics: NeverScrollableScrollPhysics(),
|
|
|
|
|
hasMoreData: adVM.isExploreAdsTapped ? adVM.hasMoreDataForExploreAds : adVM.hasMoreDataForMyAds,
|
|
|
|
|
).toViewOnly(context, onTap: () {
|
|
|
|
|
navigateWithName(context, AppRoutes.loginWithPassword);
|
|
|
|
|
navigateWithName(context, AppRoutes.loginWithPassword, arguments: false);
|
|
|
|
|
}),
|
|
|
|
|
],
|
|
|
|
|
)
|
|
|
|
|
|