diff --git a/Flutter/json_to_dart/lib/main_controller.dart b/Flutter/json_to_dart/lib/main_controller.dart index ab3a1e9..831b0a7 100644 --- a/Flutter/json_to_dart/lib/main_controller.dart +++ b/Flutter/json_to_dart/lib/main_controller.dart @@ -85,6 +85,7 @@ class MainController extends GetxController { // handleError(error, stackTrace); // }); if (extendedObject == null) { + SmartDialog.dismiss(); showAlertDialog(appLocalizations.illegalJson, Icons.error); return; } diff --git a/Flutter/json_to_dart/pubspec.lock b/Flutter/json_to_dart/pubspec.lock index 6581ec3..2d6f0f5 100644 --- a/Flutter/json_to_dart/pubspec.lock +++ b/Flutter/json_to_dart/pubspec.lock @@ -368,6 +368,13 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "0.12.11" + material_color_utilities: + dependency: transitive + description: + name: material_color_utilities + url: "https://pub.flutter-io.cn" + source: hosted + version: "0.1.3" meta: dependency: transitive description: @@ -582,7 +589,7 @@ packages: name: test_api url: "https://pub.flutter-io.cn" source: hosted - version: "0.4.3" + version: "0.4.8" time: dependency: transitive description: