|
|
|
@ -15,6 +15,7 @@ import 'package:hmg_patient_app_new/theme/colors.dart';
|
|
|
|
import 'package:hmg_patient_app_new/widgets/appbar/collapsing_list_view.dart';
|
|
|
|
import 'package:hmg_patient_app_new/widgets/appbar/collapsing_list_view.dart';
|
|
|
|
import 'package:hmg_patient_app_new/widgets/buttons/custom_button.dart';
|
|
|
|
import 'package:hmg_patient_app_new/widgets/buttons/custom_button.dart';
|
|
|
|
import 'package:hmg_patient_app_new/widgets/common_bottom_sheet.dart';
|
|
|
|
import 'package:hmg_patient_app_new/widgets/common_bottom_sheet.dart';
|
|
|
|
|
|
|
|
import 'package:hmg_patient_app_new/widgets/loader/bottomsheet_loader.dart';
|
|
|
|
import 'package:hmg_patient_app_new/widgets/routes/custom_page_route.dart';
|
|
|
|
import 'package:hmg_patient_app_new/widgets/routes/custom_page_route.dart';
|
|
|
|
import 'package:lottie/lottie.dart';
|
|
|
|
import 'package:lottie/lottie.dart';
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
@ -153,16 +154,22 @@ class EmergencyServicesPage extends StatelessWidget {
|
|
|
|
text: LocaleKeys.confirm.tr(context: context),
|
|
|
|
text: LocaleKeys.confirm.tr(context: context),
|
|
|
|
onPressed: () async {
|
|
|
|
onPressed: () async {
|
|
|
|
Navigator.of(context).pop();
|
|
|
|
Navigator.of(context).pop();
|
|
|
|
showCommonBottomSheetWithoutHeight(
|
|
|
|
|
|
|
|
title: "Rapid Response Team (RRT)".needTranslation,
|
|
|
|
LoaderBottomSheet.showLoader();
|
|
|
|
context,
|
|
|
|
await emergencyServicesViewModel.getRRTProcedures(onSuccess: (val) {
|
|
|
|
child: RrtRequestTypeSelect(),
|
|
|
|
LoaderBottomSheet.hideLoader();
|
|
|
|
isFullScreen: false,
|
|
|
|
showCommonBottomSheetWithoutHeight(
|
|
|
|
isCloseButtonVisible: true,
|
|
|
|
title: "Rapid Response Team (RRT)".needTranslation,
|
|
|
|
hasBottomPadding: false,
|
|
|
|
context,
|
|
|
|
backgroundColor: AppColors.bottomSheetBgColor,
|
|
|
|
child: RrtRequestTypeSelect(),
|
|
|
|
callBackFunc: () {},
|
|
|
|
isFullScreen: false,
|
|
|
|
);
|
|
|
|
isCloseButtonVisible: true,
|
|
|
|
|
|
|
|
hasBottomPadding: false,
|
|
|
|
|
|
|
|
backgroundColor: AppColors.bottomSheetBgColor,
|
|
|
|
|
|
|
|
callBackFunc: () {},
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
backgroundColor: AppColors.whiteColor,
|
|
|
|
backgroundColor: AppColors.whiteColor,
|
|
|
|
borderColor: AppColors.whiteColor,
|
|
|
|
borderColor: AppColors.whiteColor,
|
|
|
|
|