|
|
|
|
@ -127,6 +127,7 @@ class _WalletPaymentConfirmPageState extends State<WalletPaymentConfirmPage> {
|
|
|
|
|
LoaderBottomSheet.hideLoader();
|
|
|
|
|
showCommonBottomSheetWithoutHeight(getIt.get<NavigationService>().navigatorKey.currentContext!, child: Utils.getSuccessWidget(loadingText: "Payment Successful!"),
|
|
|
|
|
callBackFunc: () {
|
|
|
|
|
habibWalletVM.setIsWalletAmountToBeLoaded(true);
|
|
|
|
|
habibWalletVM.initHabibWalletProvider();
|
|
|
|
|
habibWalletVM.getPatientBalanceAmount();
|
|
|
|
|
Navigator.of(getIt.get<NavigationService>().navigatorKey.currentContext!).pop();
|
|
|
|
|
@ -228,6 +229,7 @@ class _WalletPaymentConfirmPageState extends State<WalletPaymentConfirmPage> {
|
|
|
|
|
LoaderBottomSheet.hideLoader();
|
|
|
|
|
showCommonBottomSheetWithoutHeight(getIt.get<NavigationService>().navigatorKey.currentContext!, child: Utils.getSuccessWidget(loadingText: "Payment Successful!"),
|
|
|
|
|
callBackFunc: () {
|
|
|
|
|
habibWalletVM.setIsWalletAmountToBeLoaded(true);
|
|
|
|
|
habibWalletVM.initHabibWalletProvider();
|
|
|
|
|
habibWalletVM.getPatientBalanceAmount();
|
|
|
|
|
Navigator.of(getIt.get<NavigationService>().navigatorKey.currentContext!).pop();
|
|
|
|
|
@ -411,8 +413,9 @@ class _WalletPaymentConfirmPageState extends State<WalletPaymentConfirmPage> {
|
|
|
|
|
LoaderBottomSheet.hideLoader();
|
|
|
|
|
showCommonBottomSheetWithoutHeight(getIt.get<NavigationService>().navigatorKey.currentContext!, child: Utils.getSuccessWidget(loadingText: "Payment Successful!"),
|
|
|
|
|
callBackFunc: () {
|
|
|
|
|
habibWalletVM.initHabibWalletProvider();
|
|
|
|
|
habibWalletVM.getPatientBalanceAmount();
|
|
|
|
|
habibWalletVM.setIsWalletAmountToBeLoaded(true);
|
|
|
|
|
habibWalletVM.initHabibWalletProvider();
|
|
|
|
|
habibWalletVM.getPatientBalanceAmount();
|
|
|
|
|
Navigator.of(getIt.get<NavigationService>().navigatorKey.currentContext!).pop();
|
|
|
|
|
Navigator.of(getIt.get<NavigationService>().navigatorKey.currentContext!).pop();
|
|
|
|
|
}, isFullScreen: false, isCloseButtonVisible: true, isAutoDismiss: true);
|
|
|
|
|
@ -503,6 +506,7 @@ class _WalletPaymentConfirmPageState extends State<WalletPaymentConfirmPage> {
|
|
|
|
|
LoaderBottomSheet.hideLoader();
|
|
|
|
|
showCommonBottomSheetWithoutHeight(getIt.get<NavigationService>().navigatorKey.currentContext!, child: Utils.getSuccessWidget(loadingText: "Payment Successful!"),
|
|
|
|
|
callBackFunc: () {
|
|
|
|
|
habibWalletVM.setIsWalletAmountToBeLoaded(true);
|
|
|
|
|
habibWalletVM.initHabibWalletProvider();
|
|
|
|
|
habibWalletVM.getPatientBalanceAmount();
|
|
|
|
|
Navigator.of(getIt.get<NavigationService>().navigatorKey.currentContext!).pop();
|
|
|
|
|
|