From 92cbb2cb9a56d2baf380470b067b6fffd1db634f Mon Sep 17 00:00:00 2001 From: wurong <953969641@qq.com> Date: Fri, 6 Sep 2024 14:33:41 +0800 Subject: [PATCH] 2023 IM --- lib/generated/intl/messages_all.dart | 4 +- lib/generated/l10n.dart | 8 +- pubspec.lock | 260 +++++++++++++++++++++------ 3 files changed, 208 insertions(+), 64 deletions(-) diff --git a/lib/generated/intl/messages_all.dart b/lib/generated/intl/messages_all.dart index 0feda714..fdeb3fa7 100644 --- a/lib/generated/intl/messages_all.dart +++ b/lib/generated/intl/messages_all.dart @@ -33,7 +33,7 @@ Map _deferredLibraries = { 'zh_TW': () => new SynchronousFuture(null), }; -MessageLookupByLibrary? _findExact(String localeName) { +MessageLookupByLibrary _findExact(String localeName) { switch (localeName) { case 'en': return messages_en.messages; @@ -75,7 +75,7 @@ bool _messagesExistFor(String locale) { } } -MessageLookupByLibrary? _findGeneratedMessagesFor(String locale) { +MessageLookupByLibrary _findGeneratedMessagesFor(String locale) { var actualLocale = Intl.verifiedLocale(locale, _messagesExistFor, onFailure: (_) => null); if (actualLocale == null) return null; diff --git a/lib/generated/l10n.dart b/lib/generated/l10n.dart index 1beb231c..efe7c5ec 100644 --- a/lib/generated/l10n.dart +++ b/lib/generated/l10n.dart @@ -15,12 +15,12 @@ import 'intl/messages_all.dart'; class S { S(); - static S? _current; + static S _current; static S get current { assert(_current != null, 'No instance of S was loaded. Try to initialize the S delegate before accessing S.current.'); - return _current!; + return _current; } static const AppLocalizationDelegate delegate = AppLocalizationDelegate(); @@ -43,10 +43,10 @@ class S { final instance = S.maybeOf(context); assert(instance != null, 'No instance of S present in the widget tree. Did you add S.delegate in localizationsDelegates?'); - return instance!; + return instance; } - static S? maybeOf(BuildContext context) { + static S maybeOf(BuildContext context) { return Localizations.of(context, S); } diff --git a/pubspec.lock b/pubspec.lock index 83ea4f5d..8f0b427d 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -17,6 +17,22 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "1.0.2" + args: + dependency: transitive + description: + name: args + sha256: eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596 + url: "https://pub.flutter-io.cn" + source: hosted + version: "2.4.2" + asn1lib: + dependency: transitive + description: + name: asn1lib + sha256: b74e3842a52c61f8819a1ec8444b4de5419b41a7465e69d4aa681445377398b0 + url: "https://pub.flutter-io.cn" + source: hosted + version: "1.4.1" async: dependency: transitive description: @@ -73,6 +89,22 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "1.3.1" + charts_common: + dependency: transitive + description: + name: charts_common + sha256: "7b8922f9b0d9b134122756a787dab1c3946ae4f3fc5022ff323ba0014998ea02" + url: "https://pub.flutter-io.cn" + source: hosted + version: "0.12.0" + charts_flutter: + dependency: "direct main" + description: + name: charts_flutter + sha256: "4172c3f4b85322fdffe1896ffbed79ae4689ae72cb6fe6690dcaaea620a9c558" + url: "https://pub.flutter-io.cn" + source: hosted + version: "0.12.0" chewie: dependency: transitive description: @@ -105,6 +137,14 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "1.17.0" + convert: + dependency: transitive + description: + name: convert + sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592" + url: "https://pub.flutter-io.cn" + source: hosted + version: "3.1.1" crypto: dependency: transitive description: @@ -145,6 +185,22 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "1.4.1" + encrypt: + dependency: "direct main" + description: + name: encrypt + sha256: "4fd4e4fdc21b9d7d4141823e1e6515cd94e7b8d84749504c232999fba25d9bbb" + url: "https://pub.flutter-io.cn" + source: hosted + version: "5.0.1" + equatable: + dependency: transitive + description: + name: equatable + sha256: c2b87cb7756efdf69892005af546c56c0b5037f54d2a88269b4f347a505e3ca2 + url: "https://pub.flutter-io.cn" + source: hosted + version: "2.0.5" event_bus: dependency: "direct main" description: @@ -161,6 +217,14 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "1.3.1" + fast_gbk: + dependency: "direct main" + description: + name: fast_gbk + sha256: "3f0dc0309986f615404ea8d1fccf00a535dc00ee90b88d71492866bd95586489" + url: "https://pub.flutter-io.cn" + source: hosted + version: "1.0.0" ffi: dependency: transitive description: @@ -177,6 +241,14 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "6.1.4" + fl_chart: + dependency: "direct main" + description: + name: fl_chart + sha256: "48a1b69be9544e2b03d9a8e843affd89e43f3194c9248776222efcb4206bb1ec" + url: "https://pub.flutter-io.cn" + source: hosted + version: "0.62.0" flare_flutter: dependency: "direct main" description: @@ -190,46 +262,6 @@ packages: description: flutter source: sdk version: "0.0.0" - flutter_baidu_mapapi_base: - dependency: "direct main" - description: - name: flutter_baidu_mapapi_base - sha256: e0ee788b4e48e4a0f33f321fd45c2375fda2b9f736a6fe32348a272fbb038ba5 - url: "https://pub.flutter-io.cn" - source: hosted - version: "3.2.0" - flutter_baidu_mapapi_map: - dependency: "direct main" - description: - name: flutter_baidu_mapapi_map - sha256: "7db88c86e4353005477064645200c3070cfd775a97be977b157fa65f67d05354" - url: "https://pub.flutter-io.cn" - source: hosted - version: "3.2.1" - flutter_baidu_mapapi_search: - dependency: "direct main" - description: - name: flutter_baidu_mapapi_search - sha256: "8228f356297a97c6a86229056f01211bc2fd7ee4d57d2e64d4d95b7ccf4d494f" - url: "https://pub.flutter-io.cn" - source: hosted - version: "3.2.0" - flutter_baidu_mapapi_utils: - dependency: "direct main" - description: - name: flutter_baidu_mapapi_utils - sha256: fbd2c5511f795671bd25783f8640f32f0b26dc68befbe5582092909434c4ba89 - url: "https://pub.flutter-io.cn" - source: hosted - version: "3.2.0" - flutter_bmflocation: - dependency: "direct main" - description: - name: flutter_bmflocation - sha256: "1aa324563c3bdfaf08d09dc336599c8a2cbc08053cf74d77903bacf29078a611" - url: "https://pub.flutter-io.cn" - source: hosted - version: "3.2.1" flutter_datetime_picker: dependency: "direct main" description: @@ -283,14 +315,14 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "0.0.3" - flutter_plugin_android_lifecycle: - dependency: transitive + flutter_pdfview: + dependency: "direct main" description: - name: flutter_plugin_android_lifecycle - sha256: "96af49aa6b57c10a312106ad6f71deed5a754029c24789bbf620ba784f0bd0b0" + name: flutter_pdfview + sha256: a9055bf920c7095bf08c2781db431ba23577aa5da5a056a7152dc89a18fbec6f url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.14" + version: "1.3.2" flutter_screenutil: dependency: "direct main" description: @@ -373,6 +405,30 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "9.2.0" + geolocator: + dependency: "direct main" + description: + name: geolocator + sha256: "01fed879aa87185efebfb1d23de619077bcc7d83ffdebd0aad6f74392f84fb40" + url: "https://pub.flutter-io.cn" + source: hosted + version: "6.2.1" + geolocator_platform_interface: + dependency: transitive + description: + name: geolocator_platform_interface + sha256: aa11c4cb9eb31f096ffc62cf54858f869bd437de327cba660577ddd594a8f3fa + url: "https://pub.flutter-io.cn" + source: hosted + version: "1.0.9" + geolocator_web: + dependency: transitive + description: + name: geolocator_web + sha256: "9a7f3c5061fb8fb26103fc67e07343eebd4d3b15d18c6d75766e2a1a8b0618f8" + url: "https://pub.flutter-io.cn" + source: hosted + version: "1.0.1" gradient_widgets: dependency: "direct main" description: @@ -405,6 +461,14 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "3.1.4" + image_gallery_saver: + dependency: "direct main" + description: + name: image_gallery_saver + sha256: "0aba74216a4d9b0561510cb968015d56b701ba1bd94aace26aacdd8ae5761816" + url: "https://pub.flutter-io.cn" + source: hosted + version: "2.0.3" image_pickers: dependency: "direct main" description: @@ -413,6 +477,14 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "2.0.0" + infinite_listview: + dependency: transitive + description: + name: infinite_listview + sha256: f6062c1720eb59be553dfa6b89813d3e8dd2f054538445aaa5edaddfa5195ce6 + url: "https://pub.flutter-io.cn" + source: hosted + version: "1.1.0" intl: dependency: "direct main" description: @@ -457,10 +529,18 @@ packages: dependency: "direct main" description: name: logger - sha256: "7ad7215c15420a102ec687bb320a7312afd449bac63bfb1c60d9787c27b9767f" + sha256: "697d067c60c20999686a0add96cf6aba723b3aa1f83ecf806a8097231529ec32" url: "https://pub.flutter-io.cn" source: hosted - version: "1.4.0" + version: "2.4.0" + logging: + dependency: transitive + description: + name: logging + sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340" + url: "https://pub.flutter-io.cn" + source: hosted + version: "1.2.0" matcher: dependency: transitive description: @@ -561,10 +641,26 @@ packages: dependency: "direct main" description: name: path_provider - sha256: "2dc54a647fcace8c75e9d58cbc648f0c49fa1f160e7c574209e91817c4155580" + sha256: "050e8e85e4b7fecdf2bb3682c1c64c4887a183720c802d323de8a5fd76d372dd" url: "https://pub.flutter-io.cn" source: hosted - version: "1.2.0" + version: "2.0.11" + path_provider_android: + dependency: transitive + description: + name: path_provider_android + sha256: "1667b3926378bba6bbd1c8c4ddd68fab6a2825f27a285bd55370c1b12f21440a" + url: "https://pub.flutter-io.cn" + source: hosted + version: "2.0.9" + path_provider_ios: + dependency: transitive + description: + name: path_provider_ios + sha256: "03d639406f5343478352433f00d3c4394d52dac8df3d847869c5e2333e0bbce8" + url: "https://pub.flutter-io.cn" + source: hosted + version: "2.0.11" path_provider_linux: dependency: transitive description: @@ -573,6 +669,14 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "2.1.10" + path_provider_macos: + dependency: transitive + description: + name: path_provider_macos + sha256: "4e9a9637dfeba8c35f598238c63adc6e77121b16d81ae97ad21b952a67c83a64" + url: "https://pub.flutter-io.cn" + source: hosted + version: "2.0.3" path_provider_platform_interface: dependency: transitive description: @@ -645,6 +749,14 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "1.0.3" + pointycastle: + dependency: transitive + description: + name: pointycastle + sha256: "7c1e5f0d23c9016c5bbd8b1473d0d3fb3fc851b876046039509e18e0c7485f2c" + url: "https://pub.flutter-io.cn" + source: hosted + version: "3.7.3" process: dependency: transitive description: @@ -826,6 +938,14 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "1.11.0" + steel_crypt: + dependency: "direct main" + description: + name: steel_crypt + sha256: "4f86a8ddc690ed1adff486faeb4ceece9e09f59cd90c8bd7e2ff48c42ca271dd" + url: "https://pub.flutter-io.cn" + source: hosted + version: "3.0.0+1" stream_channel: dependency: transitive description: @@ -842,6 +962,22 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "1.2.0" + syncfusion_flutter_core: + dependency: transitive + description: + name: syncfusion_flutter_core + sha256: "9be1bb9bbdb42823439a18da71484f1964c14dbe1c255ab1b931932b12fa96e8" + url: "https://pub.flutter-io.cn" + source: hosted + version: "19.4.56" + syncfusion_flutter_datepicker: + dependency: "direct main" + description: + name: syncfusion_flutter_datepicker + sha256: ff428c4e2ebd753c2f8f3b2aa60e96e014c9ca2653ce7007c7a603e560973f34 + url: "https://pub.flutter-io.cn" + source: hosted + version: "19.4.56" table_calendar: dependency: "direct main" description: @@ -866,14 +1002,6 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "0.4.16" - thumbnails: - dependency: "direct main" - description: - name: thumbnails - sha256: "06b3f727362b3c08a222800e881258dd5d5d42775ad07b64efb60e583dd6de8d" - url: "https://pub.flutter-io.cn" - source: hosted - version: "1.0.1" tobias: dependency: "direct main" description: @@ -1019,6 +1147,14 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "2.0.15" + visibility_detector: + dependency: "direct main" + description: + name: visibility_detector + sha256: "15c54a459ec2c17b4705450483f3d5a2858e733aee893dcee9d75fd04814940d" + url: "https://pub.flutter-io.cn" + source: hosted + version: "0.3.3" wakelock: dependency: transitive description: @@ -1067,6 +1203,14 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "2.0.14" + widgetpicker: + dependency: "direct main" + description: + name: widgetpicker + sha256: "1ab0ef91a279d0dfbbddc6d2b0c2624ea02b8ab7030d51d27d97dad2a1233a15" + url: "https://pub.flutter-io.cn" + source: hosted + version: "0.1.1" win32: dependency: transitive description: @@ -1092,5 +1236,5 @@ packages: source: hosted version: "5.4.1" sdks: - dart: ">=2.18.0 <3.0.0" + dart: ">=2.19.0 <3.0.0" flutter: ">=3.0.0"