|
|
|
|
@ -60,7 +60,8 @@ class AppointmentsFragment extends StatelessWidget {
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
16.height,
|
|
|
|
|
RefreshIndicator(
|
|
|
|
|
Expanded(
|
|
|
|
|
child: RefreshIndicator(
|
|
|
|
|
onRefresh: () async {
|
|
|
|
|
int index = appointmentsVM.appointmentsFilterOptions.indexWhere((element) => element.isSelected);
|
|
|
|
|
if (index != -1) {
|
|
|
|
|
@ -111,12 +112,13 @@ class AppointmentsFragment extends StatelessWidget {
|
|
|
|
|
navigateWithName(context, AppRoutes.appointmentDetailView, arguments: appointmentModel);
|
|
|
|
|
},
|
|
|
|
|
appointmentListModel: appointmentsVM.myFilteredAppointmentsForCustomers[index],
|
|
|
|
|
).margin(left: 21, right: 21);
|
|
|
|
|
).margin(left: 21, right: 21).toViewOnly(context, onTap: () {
|
|
|
|
|
navigateWithName(context, AppRoutes.loginWithPassword, arguments: false);
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
).toViewOnly(context, onTap: () {
|
|
|
|
|
navigateWithName(context, AppRoutes.loginWithPassword, arguments: false);
|
|
|
|
|
}),
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
|