|
|
|
@ -14,7 +14,6 @@ import 'package:mc_common_app/widgets/extensions/extensions_widget.dart';
|
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
|
import 'package:easy_localization/easy_localization.dart';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class HomeFragment extends StatelessWidget {
|
|
|
|
|
const HomeFragment({Key? key}) : super(key: key);
|
|
|
|
|
|
|
|
|
@ -40,12 +39,12 @@ class HomeFragment extends StatelessWidget {
|
|
|
|
|
context.read<AppointmentsVM>().applyFilterOnAppointmentsVM(appointmentStatusEnum: AppointmentStatusEnum.allAppointments);
|
|
|
|
|
},
|
|
|
|
|
).horPaddingMain(),
|
|
|
|
|
CustomerAppointmentSliderWidget(myUpComingAppointments: context.read<AppointmentsVM>().myUpComingAppointments),
|
|
|
|
|
CustomerAppointmentSliderWidget(),
|
|
|
|
|
7.height,
|
|
|
|
|
ViewAllWidget(
|
|
|
|
|
title: LocaleKeys.my_recent_providers.tr().toUpperCase(),
|
|
|
|
|
subTitle: LocaleKeys.view_all.tr(),
|
|
|
|
|
onSubtitleTapped: () {
|
|
|
|
|
onSubtitleTapped: () {
|
|
|
|
|
context.read<DashboardVmCustomer>().onNavbarTapped(0);
|
|
|
|
|
context.read<AppointmentsVM>().applyFilterOnBranches(index: 0);
|
|
|
|
|
}).horPaddingMain(),
|
|
|
|
|