From 912e4e3cb15380450f8a2c609dcd11a973f0e1d1 Mon Sep 17 00:00:00 2001 From: haolun <> Date: Tue, 10 Oct 2023 17:32:20 +0800 Subject: [PATCH] upgrade getX version --- lib/Core/x_base_controller.dart | 7 +++++++ lib/base_x.dart | 2 ++ pubspec.yaml | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/Core/x_base_controller.dart b/lib/Core/x_base_controller.dart index bbb597c..09cb454 100644 --- a/lib/Core/x_base_controller.dart +++ b/lib/Core/x_base_controller.dart @@ -66,6 +66,13 @@ abstract class BaseXController extends FullLifeCycleController } } + @override + void onHidden() { + if (kDebugMode) { + print('$runtimeType - onHidden called'); + } + } + void onFailedDialog(int code, String msg, dynamic data) { if (!(Get.isDialogOpen ?? false)) { baseConstant.defaulOnFailedDialog(code, msg); diff --git a/lib/base_x.dart b/lib/base_x.dart index 4315514..77c8d21 100644 --- a/lib/base_x.dart +++ b/lib/base_x.dart @@ -6,3 +6,5 @@ export 'custom_error/index.dart'; export 'api_service/index.dart'; export 'x_widget/index.dart'; export 'controller/index.dart'; + +export 'package:get/get.dart' hide Response, FormData; diff --git a/pubspec.yaml b/pubspec.yaml index 8be8ea9..5238b9e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -19,7 +19,7 @@ dependencies: flutter_hms_gms_availability: ^3.7.0 device_info_plus: ^9.0.2 package_info_plus: ^4.0.2 - get: ^4.6.5 + get: ^4.6.6 flutter_local_notifications: ^14.1.2 intl: ^0.18.0 path_provider: ^2.0.15