Skip to content

Commit

Permalink
upgrade getX version
Browse files Browse the repository at this point in the history
  • Loading branch information
haolun committed Oct 10, 2023
1 parent 9a8cc71 commit 912e4e3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions lib/Core/x_base_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ abstract class BaseXController<T> 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);
Expand Down
2 changes: 2 additions & 0 deletions lib/base_x.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 912e4e3

Please sign in to comment.