|
|
|
@ -274,7 +274,6 @@ class EmergencyServicesViewModel extends ChangeNotifier {
|
|
|
|
|
|
|
|
|
|
|
|
void navigateTOAmbulancePage() {
|
|
|
|
void navigateTOAmbulancePage() {
|
|
|
|
placeValueInController();
|
|
|
|
placeValueInController();
|
|
|
|
getProjects();
|
|
|
|
|
|
|
|
flushData();
|
|
|
|
flushData();
|
|
|
|
selectedFacility = FacilitySelection.ALL;
|
|
|
|
selectedFacility = FacilitySelection.ALL;
|
|
|
|
|
|
|
|
|
|
|
|
@ -282,6 +281,7 @@ class EmergencyServicesViewModel extends ChangeNotifier {
|
|
|
|
locationUtils!.getLocation(
|
|
|
|
locationUtils!.getLocation(
|
|
|
|
isShowConfirmDialog: true,
|
|
|
|
isShowConfirmDialog: true,
|
|
|
|
onSuccess: (position) {
|
|
|
|
onSuccess: (position) {
|
|
|
|
|
|
|
|
getProjects();
|
|
|
|
updateBottomSheetState(BottomSheetType.FIXED);
|
|
|
|
updateBottomSheetState(BottomSheetType.FIXED);
|
|
|
|
navServices.push(
|
|
|
|
navServices.push(
|
|
|
|
CustomPageRoute(page: CallAmbulancePage(), direction: AxisDirection.down),
|
|
|
|
CustomPageRoute(page: CallAmbulancePage(), direction: AxisDirection.down),
|
|
|
|
|