diff --git a/.github/workflows/deploy-to-playstore.yaml b/.github/workflows/deploy-to-playstore.yaml index 17d0bc71..b5446176 100644 --- a/.github/workflows/deploy-to-playstore.yaml +++ b/.github/workflows/deploy-to-playstore.yaml @@ -120,7 +120,7 @@ jobs: - name: Set up Flutter uses: subosito/flutter-action@v2 with: - flutter-version: "3.22.x" + flutter-version: "3.24.x" cache: true channel: "stable" diff --git a/.github/workflows/release-candidate.yaml b/.github/workflows/release-candidate.yaml index 5826dea1..c80a91b8 100644 --- a/.github/workflows/release-candidate.yaml +++ b/.github/workflows/release-candidate.yaml @@ -114,7 +114,7 @@ jobs: - name: Set up Flutter uses: subosito/flutter-action@v2 with: - flutter-version: "3.22.x" + flutter-version: "3.24.x" cache: true channel: "stable" diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 73119ae8..7b25c257 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -32,7 +32,7 @@ jobs: # Setup the flutter environment. - uses: subosito/flutter-action@v2 with: - flutter-version: "3.22.x" + flutter-version: "3.24.x" cache: true channel: "stable" diff --git a/.vscode/settings.json b/.vscode/settings.json index 4e71d826..1e3e9712 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -8,6 +8,7 @@ "cupertino", "firestore", "Formattable", + "fullscreen", "googleapis", "Ingr", "Linkify", diff --git a/Makefile b/Makefile index 81b2dacd..581722c7 100644 --- a/Makefile +++ b/Makefile @@ -69,7 +69,7 @@ bump: ## Bump beta version ##@ Tools .PHONY: mock mock: ## Mock dependencies - flutter pub run build_runner build --delete-conflicting-outputs + dart run build_runner build --delete-conflicting-outputs .PHONY: build-l10n build-l10n: ## Build localization diff --git a/lib/components/router_pop_scope.dart b/lib/components/router_pop_scope.dart deleted file mode 100644 index cb093df4..00000000 --- a/lib/components/router_pop_scope.dart +++ /dev/null @@ -1,98 +0,0 @@ -import 'dart:io' show Platform; - -import 'package:flutter/material.dart'; - -/// Try handle tricky issue: https://github.com/flutter/flutter/issues/140869 -/// Solution from: -/// https://github.com/flutter/flutter/issues/140869#issuecomment-2247181468 -class RouterPopScope extends StatefulWidget { - final Widget child; - - final PopInvokedCallback? onPopInvoked; - - final bool canPop; - - const RouterPopScope({ - super.key, - required this.child, - this.canPop = true, - this.onPopInvoked, - }); - - @override - State createState() => _RouterPopScopeState(); -} - -class _RouterPopScopeState extends State { - ModalRoute? _route; - BackButtonDispatcher? _parentBackBtnDispatcher; - ChildBackButtonDispatcher? _backBtnDispatcher; - - @override - void didChangeDependencies() { - super.didChangeDependencies(); - _route = ModalRoute.of(context); - _updateBackButtonDispatcher(); - } - - @override - void activate() { - super.activate(); - _updateBackButtonDispatcher(); - } - - @override - void deactivate() { - super.deactivate(); - _disposeBackBtnDispatcher(); - } - - @override - void dispose() { - _disposeBackBtnDispatcher(); - super.dispose(); - } - - @override - Widget build(BuildContext context) { - return PopScope( - canPop: widget.canPop, - onPopInvoked: widget.onPopInvoked, - child: widget.child, - ); - } - - void _updateBackButtonDispatcher() { - if (!Platform.isAndroid) return; - - var dispatcher = Router.maybeOf(context)?.backButtonDispatcher; - if (dispatcher != _parentBackBtnDispatcher) { - _disposeBackBtnDispatcher(); - _parentBackBtnDispatcher = dispatcher; - if (dispatcher is BackButtonDispatcher && dispatcher is! ChildBackButtonDispatcher) { - dispatcher = dispatcher.createChildBackButtonDispatcher(); - } - _backBtnDispatcher = dispatcher as ChildBackButtonDispatcher; - } - _backBtnDispatcher?.removeCallback(_handleBackButton); - _backBtnDispatcher?.addCallback(_handleBackButton); - _backBtnDispatcher?.takePriority(); - } - - void _disposeBackBtnDispatcher() { - _backBtnDispatcher?.removeCallback(_handleBackButton); - if (_backBtnDispatcher is ChildBackButtonDispatcher) { - final child = _backBtnDispatcher as ChildBackButtonDispatcher; - _parentBackBtnDispatcher?.forget(child); - } - _backBtnDispatcher = null; - _parentBackBtnDispatcher = null; - } - - Future _handleBackButton() async { - if (_route != null && _route!.isFirst && _route!.isCurrent) { - widget.onPopInvoked?.call(widget.canPop); - } - return !widget.canPop; - } -} diff --git a/lib/components/scrollable_draggable_sheet.dart b/lib/components/scrollable_draggable_sheet.dart index f7a60219..42ffcd2b 100644 --- a/lib/components/scrollable_draggable_sheet.dart +++ b/lib/components/scrollable_draggable_sheet.dart @@ -119,7 +119,7 @@ class _ScrollableDraggableSheetState extends State { } return PopScope( canPop: controller.snapIndex.value == 0, - onPopInvoked: (popped) { + onPopInvokedWithResult: (popped, _) { if (!popped) { controller.reset(); } diff --git a/lib/components/style/snackbar.dart b/lib/components/style/snackbar.dart index d94c9f01..bac5d359 100644 --- a/lib/components/style/snackbar.dart +++ b/lib/components/style/snackbar.dart @@ -25,9 +25,9 @@ Future showSnackbarWhenFailed( String code, ) { return future.catchError((err) { - // print(err); - // print((err as Error).stackTrace); - showSnackBar(context, '${S.actError}:$err'); + if (context.mounted) { + showSnackBar(context, '${S.actError}:$err'); + } Log.err(err, code, err is Error ? err.stackTrace : null); return null; }); diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb index 67639fa5..8ce2c655 100644 --- a/lib/l10n/app_en.arb +++ b/lib/l10n/app_en.arb @@ -1,6 +1,6 @@ { "@@locale": "en", - "@@last_modified": "2024-09-11T07:30:16.339769Z", + "@@last_modified": "2024-09-11T08:15:55.169432Z", "@@author": "Lu Shueh Chou", "settingTab": "Settings", "settingVersion": "Version: {version}", diff --git a/lib/l10n/app_zh.arb b/lib/l10n/app_zh.arb index b49f00b4..9365fda3 100644 --- a/lib/l10n/app_zh.arb +++ b/lib/l10n/app_zh.arb @@ -1,6 +1,6 @@ { "@@locale": "zh", - "@@last_modified": "2024-09-11T07:30:16.362623Z", + "@@last_modified": "2024-09-11T08:15:55.195501Z", "@@author": "Lu Shueh Chou", "settingTab": "設定", "settingVersion": "版本:{version}", diff --git a/lib/ui/image_gallery_page.dart b/lib/ui/image_gallery_page.dart index 8ef0a269..882ffa1e 100644 --- a/lib/ui/image_gallery_page.dart +++ b/lib/ui/image_gallery_page.dart @@ -40,7 +40,7 @@ class ImageGalleryPageState extends State { primary: false, leading: IconButton( key: const Key('image_gallery.cancel'), - onPressed: () => onPopInvoked(false), + onPressed: () => onPopInvoked(false, null), icon: const Icon(Icons.cancel), ), actions: [ @@ -77,7 +77,7 @@ class ImageGalleryPageState extends State { return PopScope( canPop: !selecting, - onPopInvoked: onPopInvoked, + onPopInvokedWithResult: onPopInvoked, child: fullScreen ? Dialog.fullscreen(child: body) : AlertDialog( @@ -248,7 +248,7 @@ class ImageGalleryPageState extends State { } } - void onPopInvoked(bool didPop) { + void onPopInvoked(bool didPop, dynamic result) { if (!didPop) { cancelSelecting(); } diff --git a/lib/ui/menu/menu_page.dart b/lib/ui/menu/menu_page.dart index 32b074e9..64124b48 100644 --- a/lib/ui/menu/menu_page.dart +++ b/lib/ui/menu/menu_page.dart @@ -51,7 +51,7 @@ class _MenuPageState extends State { return PopScope( key: const Key('menu_page'), canPop: selected == null, - onPopInvoked: _onPopInvoked, + onPopInvokedWithResult: _onPopInvoked, child: Scaffold( appBar: AppBar( title: Text(selected?.name ?? S.menuTitle), @@ -181,12 +181,12 @@ class _MenuPageState extends State { } void _handlePop() { - if (_onPopInvoked(selected == null)) { + if (_onPopInvoked(selected == null, null)) { PopButton.safePop(context, path: '${Routes.base}/_'); } } - bool _onPopInvoked(bool didPop) { + bool _onPopInvoked(bool didPop, dynamic result) { if (!didPop) { _pageSlideTo(0).then((_) => setState(() => selected = null)); return false; diff --git a/lib/ui/stock/widgets/stock_ingredient_list_tile.dart b/lib/ui/stock/widgets/stock_ingredient_list_tile.dart index 1fe46eba..67a2d717 100644 --- a/lib/ui/stock/widgets/stock_ingredient_list_tile.dart +++ b/lib/ui/stock/widgets/stock_ingredient_list_tile.dart @@ -177,7 +177,7 @@ class _RestockDialogState extends State<_RestockDialog> { style: Theme.of(context).textTheme.bodyLarge!, child: PopScope( canPop: true, - onPopInvoked: (popped) async { + onPopInvokedWithResult: (popped, _) async { if (popped && widget.currentValue.value != null) { final price = num.tryParse(controller.text); if (price != null) { diff --git a/lib/ui/transit/plain_text/export_basic_view.dart b/lib/ui/transit/plain_text/export_basic_view.dart index 26327f6a..54757c6a 100644 --- a/lib/ui/transit/plain_text/export_basic_view.dart +++ b/lib/ui/transit/plain_text/export_basic_view.dart @@ -134,6 +134,10 @@ class _ExportBasicViewState extends State with SingleTickerProv widget.exporter.export(able), context, 'pt_export_failed', - ).then((value) => showSnackBar(context, S.transitPTCopySuccess)); + ).then((value) { + if (mounted) { + showSnackBar(context, S.transitPTCopySuccess); + } + }); } } diff --git a/lib/ui/transit/plain_text/export_order_view.dart b/lib/ui/transit/plain_text/export_order_view.dart index 01e337a7..6536d78b 100644 --- a/lib/ui/transit/plain_text/export_order_view.dart +++ b/lib/ui/transit/plain_text/export_order_view.dart @@ -40,7 +40,11 @@ class ExportOrderView extends StatelessWidget { export(), context, 'pt_export_failed', - ).then((value) => showSnackBar(context, S.transitPTCopySuccess)); + ).then((value) { + if (context.mounted) { + showSnackBar(context, S.transitPTCopySuccess); + } + }); }, ), ), diff --git a/pubspec.lock b/pubspec.lock index 94d96291..f7068e32 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -5,42 +5,47 @@ packages: dependency: transitive description: name: _discoveryapis_commons - sha256: f8bb1fdbd77f3d5c1d62b5b0eca75fbf1e41bf4f6c62628f880582e2182ae45d + sha256: "113c4100b90a5b70a983541782431b82168b3cae166ab130649c36eb3559d498" url: "https://pub.dev" source: hosted - version: "1.0.6" + version: "1.0.7" _fe_analyzer_shared: dependency: transitive description: name: _fe_analyzer_shared - sha256: "0b2f2bd91ba804e53a61d757b986f89f1f9eaed5b11e4b2f5a2468d86d6c9fc7" + sha256: f256b0c0ba6c7577c15e2e4e114755640a875e885099367bf6e012b19314c834 url: "https://pub.dev" source: hosted - version: "67.0.0" + version: "72.0.0" _flutterfire_internals: dependency: transitive description: name: _flutterfire_internals - sha256: "2350805d7afefb0efe7acd325cb19d3ae8ba4039b906eade3807ffb69938a01f" + sha256: "37a42d06068e2fe3deddb2da079a8c4d105f241225ba27b7122b37e9865fd8f7" url: "https://pub.dev" source: hosted - version: "1.3.33" + version: "1.3.35" + _macros: + dependency: transitive + description: dart + source: sdk + version: "0.3.2" analyzer: dependency: transitive description: name: analyzer - sha256: "37577842a27e4338429a1cbc32679d508836510b056f1eedf0c8d20e39c1383d" + sha256: b652861553cd3990d8ed361f7979dc6d7053a9ac8843fa73820ab68ce5410139 url: "https://pub.dev" source: hosted - version: "6.4.1" + version: "6.7.0" ansicolor: dependency: transitive description: name: ansicolor - sha256: "8bf17a8ff6ea17499e40a2d2542c2f481cd7615760c6d34065cb22bfd22e6880" + sha256: "50e982d500bc863e1d703448afdbf9e5a72eb48840a4f766fa361ffd6877055f" url: "https://pub.dev" source: hosted - version: "2.0.2" + version: "2.0.3" arb_glue: dependency: "direct dev" description: @@ -53,18 +58,18 @@ packages: dependency: transitive description: name: archive - sha256: "22600aa1e926be775fa5fe7e6894e7fb3df9efda8891c73f70fb3262399a432d" + sha256: cb6a278ef2dbb298455e1a713bda08524a175630ec643a242c399c932a0a1f7d url: "https://pub.dev" source: hosted - version: "3.4.10" + version: "3.6.1" args: dependency: transitive description: name: args - sha256: eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596 + sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" url: "https://pub.dev" source: hosted - version: "2.4.2" + version: "2.5.0" async: dependency: transitive description: @@ -101,10 +106,10 @@ packages: dependency: transitive description: name: build_daemon - sha256: "0343061a33da9c5810b2d6cee51945127d8f4c060b7fbdd9d54917f0a3feaaa1" + sha256: "79b2aef6ac2ed00046867ed354c88778c9c0f029df8a20fe10b5436826721ef9" url: "https://pub.dev" source: hosted - version: "4.0.1" + version: "4.0.2" build_resolvers: dependency: transitive description: @@ -117,18 +122,18 @@ packages: dependency: "direct dev" description: name: build_runner - sha256: "1414d6d733a85d8ad2f1dfcb3ea7945759e35a123cb99ccfac75d0758f75edfa" + sha256: dd09dd4e2b078992f42aac7f1a622f01882a8492fef08486b27ddde929c19f04 url: "https://pub.dev" source: hosted - version: "2.4.10" + version: "2.4.12" build_runner_core: dependency: transitive description: name: build_runner_core - sha256: "4ae8ffe5ac758da294ecf1802f2aff01558d8b1b00616aa7538ea9a8a5d50799" + sha256: f8126682b87a7282a339b871298cc12009cb67109cfa1614d6436fb0289193e0 url: "https://pub.dev" source: hosted - version: "7.3.0" + version: "7.3.2" built_collection: dependency: transitive description: @@ -141,34 +146,34 @@ packages: dependency: transitive description: name: built_value - sha256: fedde275e0a6b798c3296963c5cd224e3e1b55d0e478d5b7e65e6b540f363a0e + sha256: c7913a9737ee4007efedaffc968c049fd0f3d0e49109e778edc10de9426005cb url: "https://pub.dev" source: hosted - version: "8.9.1" + version: "8.9.2" cached_network_image: dependency: "direct main" description: name: cached_network_image - sha256: "28ea9690a8207179c319965c13cd8df184d5ee721ae2ce60f398ced1219cea1f" + sha256: "4a5d8d2c728b0f3d0245f69f921d7be90cae4c2fd5288f773088672c0893f819" url: "https://pub.dev" source: hosted - version: "3.3.1" + version: "3.4.0" cached_network_image_platform_interface: dependency: transitive description: name: cached_network_image_platform_interface - sha256: "9e90e78ae72caa874a323d78fa6301b3fb8fa7ea76a8f96dc5b5bf79f283bf2f" + sha256: "35814b016e37fbdc91f7ae18c8caf49ba5c88501813f73ce8a07027a395e2829" url: "https://pub.dev" source: hosted - version: "4.0.0" + version: "4.1.1" cached_network_image_web: dependency: transitive description: name: cached_network_image_web - sha256: "42a835caa27c220d1294311ac409a43361088625a4f23c820b006dd9bffb3316" + sha256: "6322dde7a5ad92202e64df659241104a43db20ed594c41ca18de1014598d7996" url: "https://pub.dev" source: hosted - version: "1.1.1" + version: "1.3.0" characters: dependency: "direct main" description: @@ -221,18 +226,18 @@ packages: dependency: transitive description: name: cross_file - sha256: "55d7b444feb71301ef6b8838dbc1ae02e63dd48c8773f3810ff53bb1e2945b32" + sha256: "7caf6a750a0c04effbb52a676dce9a4a592e10ad35c34d6d2d0e4811160d5670" url: "https://pub.dev" source: hosted - version: "0.3.4+1" + version: "0.3.4+2" crypto: dependency: transitive description: name: crypto - sha256: ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab + sha256: ec30d999af904f33454ba22ed9a86162b35e52b44ac4807d1d93c288041d7d27 url: "https://pub.dev" source: hosted - version: "3.0.3" + version: "3.0.5" csslib: dependency: transitive description: @@ -253,10 +258,10 @@ packages: dependency: transitive description: name: dart_style - sha256: "99e066ce75c89d6b29903d788a7bb9369cf754f7b24bf70bf4b6d6d6b26853b9" + sha256: "7856d364b589d1f08986e140938578ed36ed948581fbc3bc9aef1805039ac5ab" url: "https://pub.dev" source: hosted - version: "2.3.6" + version: "2.3.7" extension_google_sign_in_as_googleapis_auth: dependency: "direct main" description: @@ -277,10 +282,10 @@ packages: dependency: transitive description: name: ffi - sha256: "493f37e7df1804778ff3a53bd691d8692ddf69702cf4c1c1096a2e41b4779e21" + sha256: "16ed7b077ef01ad6170a3d0c57caa4a112a38d7a2ed5602e0aca9ca6f3d98da6" url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.1.3" file: dependency: "direct main" description: @@ -301,10 +306,10 @@ packages: dependency: transitive description: name: file_selector_macos - sha256: b15c3da8bd4908b9918111fa486903f5808e388b8d1c559949f584725a6594d6 + sha256: f42eacb83b318e183b1ae24eead1373ab1334084404c8c16e0354f9a3e55d385 url: "https://pub.dev" source: hosted - version: "0.9.3+3" + version: "0.9.4" file_selector_platform_interface: dependency: transitive description: @@ -317,114 +322,114 @@ packages: dependency: transitive description: name: file_selector_windows - sha256: d3547240c20cabf205c7c7f01a50ecdbc413755814d6677f3cb366f04abcead0 + sha256: "2ad726953f6e8affbc4df8dc78b77c3b4a060967a291e528ef72ae846c60fb69" url: "https://pub.dev" source: hosted - version: "0.9.3+1" + version: "0.9.3+2" firebase_analytics: dependency: "direct main" description: name: firebase_analytics - sha256: "51afa4751e8d17d1484c193b7e9759abbae324e1b8f5cc93e2a08daac4d55928" + sha256: dbf1e7ab22cfb1f4a4adb103b46a26276b4edc593d4a78ef6fb942bafc92e035 url: "https://pub.dev" source: hosted - version: "10.10.5" + version: "10.10.7" firebase_analytics_platform_interface: dependency: transitive description: name: firebase_analytics_platform_interface - sha256: ad7f6b70304e2b81c6079a5830355edc87496527d5b104d34c3e50b5b744da83 + sha256: "3729b74f8cf1d974a27ba70332ecb55ff5ff560edc8164a6469f4a055b429c37" url: "https://pub.dev" source: hosted - version: "3.10.6" + version: "3.10.8" firebase_analytics_web: dependency: transitive description: name: firebase_analytics_web - sha256: "63ed03d229d1c2ec2b1be037cd4760c3516cc8ecf6598a6b2fb8ca29586bf464" + sha256: "019cd7eee74254d33fbd2e29229367ce33063516bf6b3258a341d89e3b0f1655" url: "https://pub.dev" source: hosted - version: "0.5.7+5" + version: "0.5.7+7" firebase_auth: dependency: "direct main" description: name: firebase_auth - sha256: f0a75f61992d036e4c46ad0e9febd364d98aa2c092690a5475cb1421a8243cfe + sha256: cfc2d970829202eca09e2896f0a5aa7c87302817ecc0bdfa954f026046bf10ba url: "https://pub.dev" source: hosted - version: "4.19.5" + version: "4.20.0" firebase_auth_platform_interface: dependency: transitive description: name: firebase_auth_platform_interface - sha256: feb77258404309ffc7761c78e1c0ad2ed5e4fdc378e035619e2cc13be4397b62 + sha256: a0270e1db3b2098a14cb2a2342b3cd2e7e458e0c391b1f64f6f78b14296ec093 url: "https://pub.dev" source: hosted - version: "7.2.6" + version: "7.3.0" firebase_auth_web: dependency: transitive description: name: firebase_auth_web - sha256: "6d527f357da2bf93a67a42b423aa92943104a0c290d1d72ad9a42c779d501cd2" + sha256: "64e067e763c6378b7e774e872f0f59f6812885e43020e25cde08f42e9459837b" url: "https://pub.dev" source: hosted - version: "5.11.5" + version: "5.12.0" firebase_core: dependency: "direct main" description: name: firebase_core - sha256: "372d94ced114b9c40cb85e18c50ac94a7e998c8eec630c50d7aec047847d27bf" + sha256: "26de145bb9688a90962faec6f838247377b0b0d32cc0abecd9a4e43525fc856c" url: "https://pub.dev" source: hosted - version: "2.31.0" + version: "2.32.0" firebase_core_platform_interface: dependency: transitive description: name: firebase_core_platform_interface - sha256: c437ae5d17e6b5cc7981cf6fd458a5db4d12979905f9aafd1fea930428a9fe63 + sha256: f7d7180c7f99babd4b4c517754d41a09a4943a0f7a69b65c894ca5c68ba66315 url: "https://pub.dev" source: hosted - version: "5.0.0" + version: "5.2.1" firebase_core_web: dependency: transitive description: name: firebase_core_web - sha256: "43d9e951ac52b87ae9cc38ecdcca1e8fa7b52a1dd26a96085ba41ce5108db8e9" + sha256: "362e52457ed2b7b180964769c1e04d1e0ea0259fdf7025fdfedd019d4ae2bd88" url: "https://pub.dev" source: hosted - version: "2.17.0" + version: "2.17.5" firebase_crashlytics: dependency: "direct main" description: name: firebase_crashlytics - sha256: "8954a6493e05f73c87da1b15bab4970a5b325f138e254a0e1c18b4f97554720c" + sha256: "9897c01efaa950d2f6da8317d12452749a74dc45f33b46390a14cfe28067f271" url: "https://pub.dev" source: hosted - version: "3.5.5" + version: "3.5.7" firebase_crashlytics_platform_interface: dependency: transitive description: name: firebase_crashlytics_platform_interface - sha256: "82f5e203cb0a83ccfce7d9b02de63c94e2f56fae96788df4b7446ca2cc81dac7" + sha256: "16a71e08fbf6e00382816e1b13397898c29a54fa0ad969c2c2a3b82a704877f0" url: "https://pub.dev" source: hosted - version: "3.6.33" + version: "3.6.35" firebase_in_app_messaging: dependency: "direct main" description: name: firebase_in_app_messaging - sha256: "80a161479de03f27eb4671c294ef88692ad7f06f62a6fa2a490508e5c8d948c4" + sha256: b9102a3150a28c3654ff23305fd75fe7190e5fb9a035883c17051a4c01686733 url: "https://pub.dev" source: hosted - version: "0.7.5+5" + version: "0.7.5+7" firebase_in_app_messaging_platform_interface: dependency: transitive description: name: firebase_in_app_messaging_platform_interface - sha256: "984bc0e6b5eaf756225562411d7ac2f43954d519adc10a718d92ed541fcd1511" + sha256: eac9d37ff2cd34c91e7db654832b9feb6004a05cd1b88675872d37044afc749c url: "https://pub.dev" source: hosted - version: "0.2.4+33" + version: "0.2.4+35" fixnum: dependency: transitive description: @@ -442,10 +447,10 @@ packages: dependency: transitive description: name: flutter_cache_manager - sha256: "8207f27539deb83732fdda03e259349046a39a4c767269285f449ade355d54ba" + sha256: "400b6592f16a4409a7f2bb929a9a7e38c72cceb8ffb99ee57bbf2cb2cecf8386" url: "https://pub.dev" source: hosted - version: "3.3.1" + version: "3.4.1" flutter_lints: dependency: "direct dev" description: @@ -463,18 +468,18 @@ packages: dependency: "direct main" description: name: flutter_native_splash - sha256: edf39bcf4d74aca1eb2c1e43c3e445fd9f494013df7f0da752fefe72020eedc0 + sha256: aa06fec78de2190f3db4319dd60fdc8d12b2626e93ef9828633928c2dcaea840 url: "https://pub.dev" source: hosted - version: "2.4.0" + version: "2.4.1" flutter_plugin_android_lifecycle: dependency: transitive description: name: flutter_plugin_android_lifecycle - sha256: b068ffc46f82a55844acfa4fdbb61fad72fa2aef0905548419d97f0f95c456da + sha256: "9ee02950848f61c4129af3d6ec84a1cfc0e47931abc746b03e7a3bc3e8ff6eda" url: "https://pub.dev" source: hosted - version: "2.0.17" + version: "2.0.22" flutter_svg: dependency: "direct main" description: @@ -497,10 +502,10 @@ packages: dependency: transitive description: name: frontend_server_client - sha256: "408e3ca148b31c20282ad6f37ebfa6f4bdc8fede5b74bc2f08d9d92b55db3612" + sha256: f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694 url: "https://pub.dev" source: hosted - version: "3.2.0" + version: "4.0.0" glob: dependency: transitive description: @@ -514,18 +519,18 @@ packages: description: path: "packages/go_router" ref: main - resolved-ref: "296274099d38f243fbc94b228bf3a8411cef034c" + resolved-ref: "466baa2c05a9bc76c81b86ffb9fd4a8dd566fa0e" url: "https://github.com/evan361425/flutter-packages" source: git - version: "14.2.4" + version: "14.2.7" google_identity_services_web: dependency: transitive description: name: google_identity_services_web - sha256: "9482364c9f8b7bd36902572ebc3a7c2b5c8ee57a9c93e6eb5099c1a9ec5265d8" + sha256: "5be191523702ba8d7a01ca97c17fca096822ccf246b0a9f11923a6ded06199b6" url: "https://pub.dev" source: hosted - version: "0.3.1+1" + version: "0.3.1+4" google_sign_in: dependency: "direct main" description: @@ -538,18 +543,18 @@ packages: dependency: transitive description: name: google_sign_in_android - sha256: bfd42c81c30c6faba16e0f62968d5505a87504aaa672b3155ee931461abb0a49 + sha256: "0608de03fc541ece4f91ba3e01a68b17cce7a6cf42bd59e40bbe5c55cc3a49d8" url: "https://pub.dev" source: hosted - version: "6.1.21" + version: "6.1.30" google_sign_in_ios: dependency: transitive description: name: google_sign_in_ios - sha256: a7d653803468d30b82ceb47ea00fe86d23c56e63eb2e5c2248bb68e9df203217 + sha256: "4898410f55440049e1ba8f15411612d9f89299d89c61cd9baf7e02d56ff81ac7" url: "https://pub.dev" source: hosted - version: "5.7.4" + version: "5.7.7" google_sign_in_platform_interface: dependency: transitive description: @@ -562,34 +567,34 @@ packages: dependency: transitive description: name: google_sign_in_web - sha256: f2b3af0ba52ff59439f18962fca71db860f09507a81da929fc0e719270b35db2 + sha256: "042805a21127a85b0dc46bba98a37926f17d2439720e8a459d27045d8ef68055" url: "https://pub.dev" source: hosted - version: "0.12.3+3" + version: "0.12.4+2" googleapis: dependency: "direct main" description: name: googleapis - sha256: "4eefba93b5f714d6c2bcc1695ff6fb09d36684d2a06912285d3981069796da10" + sha256: "864f222aed3f2ff00b816c675edf00a39e2aaf373d728d8abec30b37bee1a81c" url: "https://pub.dev" source: hosted - version: "13.1.0" + version: "13.2.0" googleapis_auth: dependency: transitive description: name: googleapis_auth - sha256: cafc46446574fd42826aa4cd4d623c94482598fda0a5a5649bf2781bcbc09258 + sha256: befd71383a955535060acde8792e7efc11d2fccd03dd1d3ec434e85b68775938 url: "https://pub.dev" source: hosted - version: "1.5.0" + version: "1.6.0" graphs: dependency: transitive description: name: graphs - sha256: aedc5a15e78fc65a6e23bcd927f24c64dd995062bcd1ca6eda65a3cff92a4d19 + sha256: "741bbf84165310a68ff28fe9e727332eef1407342fca52759cb21ad8177bb8d0" url: "https://pub.dev" source: hosted - version: "2.3.1" + version: "2.3.2" html: dependency: transitive description: @@ -602,10 +607,10 @@ packages: dependency: "direct main" description: name: http - sha256: "761a297c042deedc1ffbb156d6e2af13886bb305c2a343a4d972504cd67dd938" + sha256: b9c29a161230ee03d3ccf545097fccd9b87a5264228c5d348202e0f0c28f9010 url: "https://pub.dev" source: hosted - version: "1.2.1" + version: "1.2.2" http_multi_server: dependency: transitive description: @@ -626,66 +631,66 @@ packages: dependency: "direct main" description: name: image - sha256: "4c68bfd5ae83e700b5204c1e74451e7bf3cf750e6843c6e158289cf56bda018e" + sha256: "2237616a36c0d69aef7549ab439b833fb7f9fb9fc861af2cc9ac3eedddd69ca8" url: "https://pub.dev" source: hosted - version: "4.1.7" + version: "4.2.0" image_cropper: dependency: "direct main" description: name: image_cropper - sha256: f4bad5ed2dfff5a7ce0dfbad545b46a945c702bb6182a921488ef01ba7693111 + sha256: fe37d9a129411486e0d93089b61bd326d05b89e78ad4981de54b560725bf5bd5 url: "https://pub.dev" source: hosted - version: "5.0.1" + version: "8.0.2" image_cropper_for_web: dependency: transitive description: name: image_cropper_for_web - sha256: "865d798b5c9d826f1185b32e5d0018c4183ddb77b7b82a931e1a06aa3b74974e" + sha256: "34256c8fb7fcb233251787c876bb37271744459b593a948a2db73caa323034d0" url: "https://pub.dev" source: hosted - version: "3.0.0" + version: "6.0.2" image_cropper_platform_interface: dependency: transitive description: name: image_cropper_platform_interface - sha256: ee160d686422272aa306125f3b6fb1c1894d9b87a5e20ed33fa008e7285da11e + sha256: e8e9d2ca36360387aee39295ce49029362ae4df3071f23e8e71f2b81e40b7531 url: "https://pub.dev" source: hosted - version: "5.0.0" + version: "7.0.0" image_picker: dependency: "direct main" description: name: image_picker - sha256: "33974eca2e87e8b4e3727f1b94fa3abcb25afe80b6bc2c4d449a0e150aedf720" + sha256: "021834d9c0c3de46bf0fe40341fa07168407f694d9b2bb18d532dc1261867f7a" url: "https://pub.dev" source: hosted - version: "1.1.1" + version: "1.1.2" image_picker_android: dependency: transitive description: name: image_picker_android - sha256: "39f2bfe497e495450c81abcd44b62f56c2a36a37a175da7d137b4454977b51b1" + sha256: c0a6763d50b354793d0192afd0a12560b823147d3ded7c6b77daf658fa05cc85 url: "https://pub.dev" source: hosted - version: "0.8.9+3" + version: "0.8.12+13" image_picker_for_web: dependency: transitive description: name: image_picker_for_web - sha256: e2423c53a68b579a7c37a1eda967b8ae536c3d98518e5db95ca1fe5719a730a3 + sha256: "65d94623e15372c5c51bebbcb820848d7bcb323836e12dfdba60b5d3a8b39e50" url: "https://pub.dev" source: hosted - version: "3.0.2" + version: "3.0.5" image_picker_ios: dependency: transitive description: name: image_picker_ios - sha256: fadafce49e8569257a0cad56d24438a6fa1f0cbd7ee0af9b631f7492818a4ca3 + sha256: "6703696ad49f5c3c8356d576d7ace84d1faf459afb07accbb0fae780753ff447" url: "https://pub.dev" source: hosted - version: "0.8.9+1" + version: "0.8.12" image_picker_linux: dependency: transitive description: @@ -746,26 +751,26 @@ packages: dependency: transitive description: name: json_annotation - sha256: b10a7b2ff83d83c777edba3c6a0f97045ddadd56c944e1a23a3fdf43a1bf4467 + sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1" url: "https://pub.dev" source: hosted - version: "4.8.1" + version: "4.9.0" leak_tracker: dependency: transitive description: name: leak_tracker - sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a" + sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" url: "https://pub.dev" source: hosted - version: "10.0.4" + version: "10.0.5" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8" + sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806" url: "https://pub.dev" source: hosted - version: "3.0.3" + version: "3.0.5" leak_tracker_testing: dependency: transitive description: @@ -790,6 +795,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.2.0" + macros: + dependency: transitive + description: + name: macros + sha256: "0acaed5d6b7eab89f63350bccd82119e6c602df0f391260d0e32b5e23db79536" + url: "https://pub.dev" + source: hosted + version: "0.1.2-main.4" matcher: dependency: transitive description: @@ -802,26 +815,26 @@ packages: dependency: transitive description: name: material_color_utilities - sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" + sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec url: "https://pub.dev" source: hosted - version: "0.8.0" + version: "0.11.1" meta: dependency: transitive description: name: meta - sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136" + sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 url: "https://pub.dev" source: hosted - version: "1.12.0" + version: "1.15.0" mime: dependency: transitive description: name: mime - sha256: "2e123074287cc9fd6c09de8336dae606d1ddb88d9ac47358826db698c176a1f2" + sha256: "801fd0b26f14a4a58ccb09d5892c3fbdeff209594300a542492cf13fba9d247a" url: "https://pub.dev" source: hosted - version: "1.0.5" + version: "1.0.6" mockito: dependency: "direct dev" description: @@ -842,10 +855,10 @@ packages: dependency: transitive description: name: octo_image - sha256: "45b40f99622f11901238e18d48f5f12ea36426d8eced9f4cbf58479c7aa2430d" + sha256: "34faa6639a78c7e3cbe79be6f9f96535867e879748ade7d17c9b1ae7536293bd" url: "https://pub.dev" source: hosted - version: "2.0.0" + version: "2.1.0" package_config: dependency: transitive description: @@ -858,18 +871,18 @@ packages: dependency: "direct main" description: name: package_info_plus - sha256: b93d8b4d624b4ea19b0a5a208b2d6eff06004bc3ce74c06040b120eeadd00ce0 + sha256: a75164ade98cb7d24cfd0a13c6408927c6b217fa60dee5a7ff5c116a58f28918 url: "https://pub.dev" source: hosted - version: "8.0.0" + version: "8.0.2" package_info_plus_platform_interface: dependency: transitive description: name: package_info_plus_platform_interface - sha256: f49918f3433a3146047372f9d4f1f847511f2acd5cd030e1f44fe5a50036b70e + sha256: ac1f4a4847f1ade8e6a87d1f39f5d7c67490738642e2542f559ec38c37489a66 url: "https://pub.dev" source: hosted - version: "3.0.0" + version: "3.0.1" path: dependency: transitive description: @@ -890,26 +903,26 @@ packages: dependency: "direct main" description: name: path_provider - sha256: c9e7d3a4cd1410877472158bee69963a4579f78b68c65a2b7d40d1a7a88bb161 + sha256: fec0d61223fba3154d87759e3cc27fe2c8dc498f6386c6d6fc80d1afdd1bf378 url: "https://pub.dev" source: hosted - version: "2.1.3" + version: "2.1.4" path_provider_android: dependency: transitive description: name: path_provider_android - sha256: "477184d672607c0a3bf68fbbf601805f92ef79c82b64b4d6eb318cbca4c48668" + sha256: "6f01f8e37ec30b07bc424b4deabac37cacb1bc7e2e515ad74486039918a37eb7" url: "https://pub.dev" source: hosted - version: "2.2.2" + version: "2.2.10" path_provider_foundation: dependency: transitive description: name: path_provider_foundation - sha256: "5a7999be66e000916500be4f15a3633ebceb8302719b47b9cc49ce924125350f" + sha256: f234384a3fdd67f989b4d54a5d73ca2a6c422fa55ae694381ae0f4375cd1ea16 url: "https://pub.dev" source: hosted - version: "2.3.2" + version: "2.4.0" path_provider_linux: dependency: transitive description: @@ -930,10 +943,10 @@ packages: dependency: transitive description: name: path_provider_windows - sha256: "8bc9f22eee8690981c22aa7fc602f5c85b497a6fb2ceb35ee5a5e5ed85ad8170" + sha256: bd6f00dbd873bfb70d0761682da2b3a2c2fccc2b9e84c495821639601d81afe7 url: "https://pub.dev" source: hosted - version: "2.2.1" + version: "2.3.0" petitparser: dependency: transitive description: @@ -946,10 +959,10 @@ packages: dependency: transitive description: name: platform - sha256: "12220bb4b65720483f8fa9450b4332347737cf8213dd2840d8b2c823e47243ec" + sha256: "9b71283fc13df574056616011fb138fd3b793ea47cc509c189a6c3fa5f8a1a65" url: "https://pub.dev" source: hosted - version: "3.1.4" + version: "3.1.5" plugin_platform_interface: dependency: transitive description: @@ -958,14 +971,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.8" - pointycastle: - dependency: transitive - description: - name: pointycastle - sha256: "43ac87de6e10afabc85c445745a7b799e04de84cebaa4fd7bf55a5e1e9604d29" - url: "https://pub.dev" - source: hosted - version: "3.7.4" pool: dependency: transitive description: @@ -994,82 +999,82 @@ packages: dependency: transitive description: name: pubspec_parse - sha256: c63b2876e58e194e4b0828fcb080ad0e06d051cb607a6be51a9e084f47cb9367 + sha256: c799b721d79eb6ee6fa56f00c04b472dcd44a30d258fac2174a6ec57302678f8 url: "https://pub.dev" source: hosted - version: "1.2.3" + version: "1.3.0" rxdart: dependency: transitive description: name: rxdart - sha256: "0c7c0cedd93788d996e33041ffecda924cc54389199cde4e6a34b440f50044cb" + sha256: "5c3004a4a8dbb94bd4bf5412a4def4acdaa12e12f269737a5751369e12d1a962" url: "https://pub.dev" source: hosted - version: "0.27.7" + version: "0.28.0" sembast: dependency: "direct main" description: name: sembast - sha256: dbe19600cff55d43f19405be79138c3fd2c08a87b0b152b18609b9427d113a64 + sha256: "99f9d53ecdc75db1630797a8b9b2f2050ee5377e49f60f5f6e788431db04224d" url: "https://pub.dev" source: hosted - version: "3.7.1" + version: "3.7.3+3" shared_preferences: dependency: "direct main" description: name: shared_preferences - sha256: d3bbe5553a986e83980916ded2f0b435ef2e1893dfaa29d5a7a790d0eca12180 + sha256: "746e5369a43170c25816cc472ee016d3a66bc13fcf430c0bc41ad7b4b2922051" url: "https://pub.dev" source: hosted - version: "2.2.3" + version: "2.3.2" shared_preferences_android: dependency: transitive description: name: shared_preferences_android - sha256: "8568a389334b6e83415b6aae55378e158fbc2314e074983362d20c562780fb06" + sha256: "480ba4345773f56acda9abf5f50bd966f581dac5d514e5fc4a18c62976bbba7e" url: "https://pub.dev" source: hosted - version: "2.2.1" + version: "2.3.2" shared_preferences_foundation: dependency: transitive description: name: shared_preferences_foundation - sha256: "7708d83064f38060c7b39db12aefe449cb8cdc031d6062280087bc4cdb988f5c" + sha256: c4b35f6cb8f63c147312c054ce7c2254c8066745125264f0c88739c417fc9d9f url: "https://pub.dev" source: hosted - version: "2.3.5" + version: "2.5.2" shared_preferences_linux: dependency: transitive description: name: shared_preferences_linux - sha256: "9f2cbcf46d4270ea8be39fa156d86379077c8a5228d9dfdb1164ae0bb93f1faa" + sha256: "580abfd40f415611503cae30adf626e6656dfb2f0cee8f465ece7b6defb40f2f" url: "https://pub.dev" source: hosted - version: "2.3.2" + version: "2.4.1" shared_preferences_platform_interface: dependency: transitive description: name: shared_preferences_platform_interface - sha256: "22e2ecac9419b4246d7c22bfbbda589e3acf5c0351137d87dd2939d984d37c3b" + sha256: "57cbf196c486bc2cf1f02b85784932c6094376284b3ad5779d1b1c6c6a816b80" url: "https://pub.dev" source: hosted - version: "2.3.2" + version: "2.4.1" shared_preferences_web: dependency: transitive description: name: shared_preferences_web - sha256: "9aee1089b36bd2aafe06582b7d7817fd317ef05fc30e6ba14bff247d0933042a" + sha256: d2ca4132d3946fec2184261726b355836a82c33d7d5b67af32692aff18a4684e url: "https://pub.dev" source: hosted - version: "2.3.0" + version: "2.4.2" shared_preferences_windows: dependency: transitive description: name: shared_preferences_windows - sha256: "841ad54f3c8381c480d0c9b508b89a34036f512482c407e6df7a9c4aa2ef8f59" + sha256: "94ef0f72b2d71bc3e700e025db3710911bd51a71cefb65cc609dd0d9a982e3c1" url: "https://pub.dev" source: hosted - version: "2.3.2" + version: "2.4.1" shelf: dependency: transitive description: @@ -1082,10 +1087,10 @@ packages: dependency: transitive description: name: shelf_web_socket - sha256: "9ca081be41c60190ebcb4766b2486a7d50261db7bd0f5d9615f2d653637a84c1" + sha256: "073c147238594ecd0d193f3456a5fe91c4b0abbcc68bf5cd95b36c4e194ac611" url: "https://pub.dev" source: hosted - version: "1.0.4" + version: "2.0.0" simple_gesture_detector: dependency: transitive description: @@ -1119,10 +1124,10 @@ packages: dependency: "direct main" description: name: spotlight_ant - sha256: "8e9266780dff9785c4a31b53ac62c4f132b8231ae361592afbe1d97ca726d854" + sha256: "49663960cace7c081187b879791d629b23041fa4a07e4defa593e56e67a684cd" url: "https://pub.dev" source: hosted - version: "1.4.1" + version: "1.4.3" sprintf: dependency: transitive description: @@ -1143,10 +1148,10 @@ packages: dependency: "direct dev" description: name: sqflite_common - sha256: "3da423ce7baf868be70e2c0976c28a1bb2f73644268b7ffa7d2e08eab71f16a4" + sha256: "7b41b6c3507854a159e24ae90a8e3e9cc01eb26a477c118d6dca065b5f55453e" url: "https://pub.dev" source: hosted - version: "2.5.4" + version: "2.5.4+2" sqflite_common_ffi: dependency: "direct dev" description: @@ -1159,10 +1164,10 @@ packages: dependency: transitive description: name: sqlite3 - sha256: "072128763f1547e3e9b4735ce846bfd226d68019ccda54db4cd427b12dfdedc9" + sha256: fde692580bee3379374af1f624eb3e113ab2865ecb161dbe2d8ac2de9735dbdb url: "https://pub.dev" source: hosted - version: "2.4.0" + version: "2.4.5" stack_trace: dependency: transitive description: @@ -1199,34 +1204,34 @@ packages: dependency: "direct main" description: name: syncfusion_flutter_charts - sha256: "01ff26c73725cb4f9d04492daae4d0365c2ed2cbf43cd83132a24f47d4d4931c" + sha256: a755274a8786b200b7a05f7414168cd5858871db74d0f1de2e57b20a8aaeb7a4 url: "https://pub.dev" source: hosted - version: "25.2.4" + version: "26.2.14" syncfusion_flutter_core: dependency: transitive description: name: syncfusion_flutter_core - sha256: "9e8bac2367d03bd902844f59e866c0e7b1e10b0b8fa5a6a926c0d8ae8c344533" + sha256: "6e67726b85812afc7105725a23620b876ab7f6b04b8410e211330ffb8c2cdbe8" url: "https://pub.dev" source: hosted - version: "25.2.4" + version: "26.2.14" synchronized: dependency: transitive description: name: synchronized - sha256: "539ef412b170d65ecdafd780f924e5be3f60032a1128df156adad6c5b373d558" + sha256: a824e842b8a054f91a728b783c177c1e4731f6b124f9192468457a8913371255 url: "https://pub.dev" source: hosted - version: "3.1.0+1" + version: "3.2.0" table_calendar: dependency: "direct main" description: name: table_calendar - sha256: b759eb6caa88dda8e51c70ee43c19d1682f8244458f84cced9138ee35b2ce416 + sha256: "4ca32b2fc919452c9974abd4c6ea611a63e33b9e4f0b8c38dba3ac1f4a6549d1" url: "https://pub.dev" source: hosted - version: "3.1.1" + version: "3.1.2" term_glyph: dependency: transitive description: @@ -1239,10 +1244,10 @@ packages: dependency: transitive description: name: test_api - sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f" + sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb" url: "https://pub.dev" source: hosted - version: "0.7.0" + version: "0.7.2" timing: dependency: transitive description: @@ -1271,42 +1276,42 @@ packages: dependency: "direct main" description: name: url_launcher - sha256: "6ce1e04375be4eed30548f10a315826fd933c1e493206eab82eed01f438c8d2e" + sha256: "21b704ce5fa560ea9f3b525b43601c678728ba46725bab9b01187b4831377ed3" url: "https://pub.dev" source: hosted - version: "6.2.6" + version: "6.3.0" url_launcher_android: dependency: transitive description: name: url_launcher_android - sha256: d4ed0711849dd8e33eb2dd69c25db0d0d3fdc37e0a62e629fe32f57a22db2745 + sha256: e35a698ac302dd68e41f73250bd9517fe3ab5fa4f18fe4647a0872db61bacbab url: "https://pub.dev" source: hosted - version: "6.3.0" + version: "6.3.10" url_launcher_ios: dependency: transitive description: name: url_launcher_ios - sha256: "9149d493b075ed740901f3ee844a38a00b33116c7c5c10d7fb27df8987fb51d5" + sha256: e43b677296fadce447e987a2f519dcf5f6d1e527dc35d01ffab4fff5b8a7063e url: "https://pub.dev" source: hosted - version: "6.2.5" + version: "6.3.1" url_launcher_linux: dependency: transitive description: name: url_launcher_linux - sha256: ab360eb661f8879369acac07b6bb3ff09d9471155357da8443fd5d3cf7363811 + sha256: e2b9622b4007f97f504cd64c0128309dfb978ae66adbe944125ed9e1750f06af url: "https://pub.dev" source: hosted - version: "3.1.1" + version: "3.2.0" url_launcher_macos: dependency: transitive description: name: url_launcher_macos - sha256: b7244901ea3cf489c5335bdacda07264a6e960b1c1b1a9f91e4bc371d9e68234 + sha256: "9a1a42d5d2d95400c795b2914c36fdcb525870c752569438e4ebb09a2b5d90de" url: "https://pub.dev" source: hosted - version: "3.1.0" + version: "3.2.0" url_launcher_platform_interface: dependency: transitive description: @@ -1319,26 +1324,26 @@ packages: dependency: transitive description: name: url_launcher_web - sha256: "8d9e750d8c9338601e709cd0885f95825086bd8b642547f26bda435aade95d8a" + sha256: "772638d3b34c779ede05ba3d38af34657a05ac55b06279ea6edd409e323dca8e" url: "https://pub.dev" source: hosted - version: "2.3.1" + version: "2.3.3" url_launcher_windows: dependency: transitive description: name: url_launcher_windows - sha256: ecf9725510600aa2bb6d7ddabe16357691b6d2805f66216a97d1b881e21beff7 + sha256: "49c10f879746271804767cb45551ec5592cdab00ee105c06dddde1a98f73b185" url: "https://pub.dev" source: hosted - version: "3.1.1" + version: "3.1.2" uuid: dependency: "direct main" description: name: uuid - sha256: "814e9e88f21a176ae1359149021870e87f7cddaf633ab678a5d2b0bff7fd1ba8" + sha256: f33d6bb662f0e4f79dcd7ada2e6170f3b3a2530c28fc41f49a411ddedd576a77 url: "https://pub.dev" source: hosted - version: "4.4.0" + version: "4.5.0" vector_graphics: dependency: transitive description: @@ -1383,10 +1388,10 @@ packages: dependency: transitive description: name: vm_service - sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec" + sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" url: "https://pub.dev" source: hosted - version: "14.2.1" + version: "14.2.5" wakelock: dependency: "direct main" description: @@ -1448,22 +1453,30 @@ packages: url: "https://pub.dev" source: hosted version: "0.5.1" + web_socket: + dependency: transitive + description: + name: web_socket + sha256: "3c12d96c0c9a4eec095246debcea7b86c0324f22df69893d538fcc6f1b8cce83" + url: "https://pub.dev" + source: hosted + version: "0.1.6" web_socket_channel: dependency: transitive description: name: web_socket_channel - sha256: "58c6666b342a38816b2e7e50ed0f1e261959630becd4c879c4f26bfa14aa5a42" + sha256: "9f187088ed104edd8662ca07af4b124465893caf063ba29758f97af57e61da8f" url: "https://pub.dev" source: hosted - version: "2.4.5" + version: "3.0.1" win32: dependency: transitive description: name: win32 - sha256: "464f5674532865248444b4c3daca12bd9bf2d7c47f759ce2617986e7229494a8" + sha256: "68d1e89a91ed61ad9c370f9f8b6effed9ae5e0ede22a270bdfa6daf79fc2290a" url: "https://pub.dev" source: hosted - version: "5.2.0" + version: "5.5.4" xdg_directories: dependency: transitive description: @@ -1489,5 +1502,5 @@ packages: source: hosted version: "3.1.2" sdks: - dart: ">=3.4.0 <4.0.0" - flutter: ">=3.22.0" + dart: ">=3.5.0 <4.0.0" + flutter: ">=3.24.0" diff --git a/pubspec.yaml b/pubspec.yaml index 920c7411..9a45adeb 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -5,7 +5,7 @@ homepage: https://github.com/evan361425/flutter-pos-system version: 2.9.1+20901004 environment: - flutter: ">=3.22.0 <3.23.0" + flutter: ">=3.24.0 <3.25.0" sdk: ">=3.3.0 <4.0.0" dependencies: @@ -23,50 +23,50 @@ dependencies: provider: ^6.1.2 intl: ^0.19.0 collection: ^1.18.0 - firebase_core: ^2.31.0 - firebase_analytics: ^10.10.5 - firebase_auth: ^4.19.5 - firebase_crashlytics: ^3.5.5 - firebase_in_app_messaging: ^0.7.5+5 + firebase_core: ^2.32.0 + firebase_analytics: ^10.10.7 + firebase_auth: ^4.20.0 + firebase_crashlytics: ^3.5.7 + firebase_in_app_messaging: ^0.7.5+7 # services sqflite: ^2.3.3+1 # 24, 04-03 - sembast: ^3.7.1 # 24, 03-26 - shared_preferences: ^2.2.3 - http: ^1.2.1 + sembast: ^3.7.3+3 # 24, 09-05 + shared_preferences: ^2.3.2 + http: ^1.2.2 # google services - googleapis: ^13.1.0 + googleapis: ^13.2.0 google_sign_in: ^6.2.1 extension_google_sign_in_as_googleapis_auth: ^2.0.12 # components - table_calendar: ^3.1.1 # 24, 02-09 - syncfusion_flutter_charts: ^25.2.4 - spotlight_ant: ^1.4.1 + table_calendar: ^3.1.2 # 24, 06-09 + syncfusion_flutter_charts: ^26.2.14 + spotlight_ant: ^1.4.3 # image - image: ^4.1.7 # 24, 01-10 - image_picker: ^1.1.1 # 24, 04-30 - image_cropper: ^5.0.1 # 23, 11-26 - cached_network_image: ^3.3.1 # 23, 12-31 + image: ^4.2.0 # 24, 05-22 + image_picker: ^1.1.2 # 24, 05-31 + image_cropper: ^8.0.2 # 24, 08-16 + cached_network_image: ^3.3.1 # 24, 08-13 flutter_svg: ^2.0.10+1 # 24, 02-20 # Make it easy to test file: ^7.0.0 # 23, 05-19 # tools - uuid: ^4.4.0 # 24, 01-11 + uuid: ^4.5.0 # 24, 08-30 wakelock: git: url: https://github.com/evan361425/wakelock path: wakelock/ ref: main characters: ^1.3.0 # 23, 02-17 - path_provider: ^2.1.3 # 24, 01-09 - url_launcher: ^6.2.6 # 24, 02-21 - flutter_native_splash: ^2.4.0 # 24, 03-17 - package_info_plus: ^8.0.0 # 23, 08-02 + path_provider: ^2.1.4 # 24, 07-30 + url_launcher: ^6.3.0 # 24, 06-03 + flutter_native_splash: ^2.4.1 # 24, 07-07 + package_info_plus: ^8.0.2 # 24, 08-09 visibility_detector: ^0.4.0+2 # 23, 03-09 cupertino_icons: ^1.0.8 # This is for google-package which use it in some case @@ -78,9 +78,9 @@ dev_dependencies: flutter_lints: ^4.0.0 # mock object - build_runner: ^2.4.10 + build_runner: ^2.4.11 mockito: ^5.4.4 - sqflite_common: ^2.5.4 # logging + sqflite_common: ^2.5.4+2 # logging sqflite_common_ffi: ^2.3.3 arb_glue: ^1.0.0 diff --git a/test/mocks/mock_auth.mocks.dart b/test/mocks/mock_auth.mocks.dart index 73b483f3..e2084c5d 100644 --- a/test/mocks/mock_auth.mocks.dart +++ b/test/mocks/mock_auth.mocks.dart @@ -37,7 +37,8 @@ class _FakeResponse_0 extends _i1.SmartFake implements _i2.Response { ); } -class _FakeStreamedResponse_1 extends _i1.SmartFake implements _i2.StreamedResponse { +class _FakeStreamedResponse_1 extends _i1.SmartFake + implements _i2.StreamedResponse { _FakeStreamedResponse_1( Object parent, Invocation parentInvocation, @@ -311,12 +312,14 @@ class MockClient extends _i1.Mock implements _i2.Client { ) as _i4.Future<_i9.Uint8List>); @override - _i4.Future<_i2.StreamedResponse> send(_i2.BaseRequest? request) => (super.noSuchMethod( + _i4.Future<_i2.StreamedResponse> send(_i2.BaseRequest? request) => + (super.noSuchMethod( Invocation.method( #send, [request], ), - returnValue: _i4.Future<_i2.StreamedResponse>.value(_FakeStreamedResponse_1( + returnValue: + _i4.Future<_i2.StreamedResponse>.value(_FakeStreamedResponse_1( this, Invocation.method( #send, diff --git a/test/mocks/mock_cache.mocks.dart b/test/mocks/mock_cache.mocks.dart index 6b56c0fe..e2d747d6 100644 --- a/test/mocks/mock_cache.mocks.dart +++ b/test/mocks/mock_cache.mocks.dart @@ -22,7 +22,8 @@ import 'package:shared_preferences/shared_preferences.dart' as _i2; // ignore_for_file: camel_case_types // ignore_for_file: subtype_of_sealed_class -class _FakeSharedPreferences_0 extends _i1.SmartFake implements _i2.SharedPreferences { +class _FakeSharedPreferences_0 extends _i1.SmartFake + implements _i2.SharedPreferences { _FakeSharedPreferences_0( Object parent, Invocation parentInvocation, diff --git a/test/mocks/mock_database.mocks.dart b/test/mocks/mock_database.mocks.dart index 86e85f46..d0a3eeed 100644 --- a/test/mocks/mock_database.mocks.dart +++ b/test/mocks/mock_database.mocks.dart @@ -202,7 +202,9 @@ class MockDatabase extends _i1.Mock implements _i4.Database { ) as _i3.Future); @override - _i3.Future transaction(_i3.Future Function(_i2.DatabaseExecutor)? action) => (super.noSuchMethod( + _i3.Future transaction( + _i3.Future Function(_i2.DatabaseExecutor)? action) => + (super.noSuchMethod( Invocation.method( #transaction, [action], @@ -255,7 +257,8 @@ class MockDatabase extends _i1.Mock implements _i4.Database { #escapeTable: escapeTable, }, ), - returnValue: _i3.Future>>.value(>[]), + returnValue: _i3.Future>>.value( + >[]), ) as _i3.Future>>); @override @@ -380,7 +383,8 @@ class MockDatabaseExecutor extends _i1.Mock implements _i2.DatabaseExecutor { #offset: offset, }, ), - returnValue: _i3.Future>>.value(>[]), + returnValue: _i3.Future>>.value( + >[]), ) as _i3.Future>>); @override @@ -396,7 +400,8 @@ class MockDatabaseExecutor extends _i1.Mock implements _i2.DatabaseExecutor { arguments, ], ), - returnValue: _i3.Future>>.value(>[]), + returnValue: _i3.Future>>.value( + >[]), ) as _i3.Future>>); @override diff --git a/test/mocks/mock_google_api.mocks.dart b/test/mocks/mock_google_api.mocks.dart index 65274f4f..43781a96 100644 --- a/test/mocks/mock_google_api.mocks.dart +++ b/test/mocks/mock_google_api.mocks.dart @@ -44,7 +44,8 @@ class _FakeAppsResource_1 extends _i1.SmartFake implements _i2.AppsResource { ); } -class _FakeChangesResource_2 extends _i1.SmartFake implements _i2.ChangesResource { +class _FakeChangesResource_2 extends _i1.SmartFake + implements _i2.ChangesResource { _FakeChangesResource_2( Object parent, Invocation parentInvocation, @@ -54,7 +55,8 @@ class _FakeChangesResource_2 extends _i1.SmartFake implements _i2.ChangesResourc ); } -class _FakeChannelsResource_3 extends _i1.SmartFake implements _i2.ChannelsResource { +class _FakeChannelsResource_3 extends _i1.SmartFake + implements _i2.ChannelsResource { _FakeChannelsResource_3( Object parent, Invocation parentInvocation, @@ -64,7 +66,8 @@ class _FakeChannelsResource_3 extends _i1.SmartFake implements _i2.ChannelsResou ); } -class _FakeCommentsResource_4 extends _i1.SmartFake implements _i2.CommentsResource { +class _FakeCommentsResource_4 extends _i1.SmartFake + implements _i2.CommentsResource { _FakeCommentsResource_4( Object parent, Invocation parentInvocation, @@ -74,7 +77,8 @@ class _FakeCommentsResource_4 extends _i1.SmartFake implements _i2.CommentsResou ); } -class _FakeDrivesResource_5 extends _i1.SmartFake implements _i2.DrivesResource { +class _FakeDrivesResource_5 extends _i1.SmartFake + implements _i2.DrivesResource { _FakeDrivesResource_5( Object parent, Invocation parentInvocation, @@ -94,7 +98,8 @@ class _FakeFilesResource_6 extends _i1.SmartFake implements _i2.FilesResource { ); } -class _FakePermissionsResource_7 extends _i1.SmartFake implements _i2.PermissionsResource { +class _FakePermissionsResource_7 extends _i1.SmartFake + implements _i2.PermissionsResource { _FakePermissionsResource_7( Object parent, Invocation parentInvocation, @@ -104,7 +109,8 @@ class _FakePermissionsResource_7 extends _i1.SmartFake implements _i2.Permission ); } -class _FakeRepliesResource_8 extends _i1.SmartFake implements _i2.RepliesResource { +class _FakeRepliesResource_8 extends _i1.SmartFake + implements _i2.RepliesResource { _FakeRepliesResource_8( Object parent, Invocation parentInvocation, @@ -114,7 +120,8 @@ class _FakeRepliesResource_8 extends _i1.SmartFake implements _i2.RepliesResourc ); } -class _FakeRevisionsResource_9 extends _i1.SmartFake implements _i2.RevisionsResource { +class _FakeRevisionsResource_9 extends _i1.SmartFake + implements _i2.RevisionsResource { _FakeRevisionsResource_9( Object parent, Invocation parentInvocation, @@ -124,7 +131,8 @@ class _FakeRevisionsResource_9 extends _i1.SmartFake implements _i2.RevisionsRes ); } -class _FakeTeamdrivesResource_10 extends _i1.SmartFake implements _i2.TeamdrivesResource { +class _FakeTeamdrivesResource_10 extends _i1.SmartFake + implements _i2.TeamdrivesResource { _FakeTeamdrivesResource_10( Object parent, Invocation parentInvocation, @@ -184,7 +192,8 @@ class _FakeLabelList_15 extends _i1.SmartFake implements _i2.LabelList { ); } -class _FakeModifyLabelsResponse_16 extends _i1.SmartFake implements _i2.ModifyLabelsResponse { +class _FakeModifyLabelsResponse_16 extends _i1.SmartFake + implements _i2.ModifyLabelsResponse { _FakeModifyLabelsResponse_16( Object parent, Invocation parentInvocation, @@ -204,7 +213,8 @@ class _Fake$Channel01_17 extends _i1.SmartFake implements _i3.$Channel01 { ); } -class _FakeSpreadsheetsResource_18 extends _i1.SmartFake implements _i4.SpreadsheetsResource { +class _FakeSpreadsheetsResource_18 extends _i1.SmartFake + implements _i4.SpreadsheetsResource { _FakeSpreadsheetsResource_18( Object parent, Invocation parentInvocation, @@ -225,7 +235,8 @@ class _FakeSpreadsheetsDeveloperMetadataResource_19 extends _i1.SmartFake ); } -class _FakeSpreadsheetsSheetsResource_20 extends _i1.SmartFake implements _i4.SpreadsheetsSheetsResource { +class _FakeSpreadsheetsSheetsResource_20 extends _i1.SmartFake + implements _i4.SpreadsheetsSheetsResource { _FakeSpreadsheetsSheetsResource_20( Object parent, Invocation parentInvocation, @@ -235,7 +246,8 @@ class _FakeSpreadsheetsSheetsResource_20 extends _i1.SmartFake implements _i4.Sp ); } -class _FakeSpreadsheetsValuesResource_21 extends _i1.SmartFake implements _i4.SpreadsheetsValuesResource { +class _FakeSpreadsheetsValuesResource_21 extends _i1.SmartFake + implements _i4.SpreadsheetsValuesResource { _FakeSpreadsheetsValuesResource_21( Object parent, Invocation parentInvocation, @@ -245,7 +257,8 @@ class _FakeSpreadsheetsValuesResource_21 extends _i1.SmartFake implements _i4.Sp ); } -class _FakeBatchUpdateSpreadsheetResponse_22 extends _i1.SmartFake implements _i4.BatchUpdateSpreadsheetResponse { +class _FakeBatchUpdateSpreadsheetResponse_22 extends _i1.SmartFake + implements _i4.BatchUpdateSpreadsheetResponse { _FakeBatchUpdateSpreadsheetResponse_22( Object parent, Invocation parentInvocation, @@ -265,7 +278,8 @@ class _FakeSpreadsheet_23 extends _i1.SmartFake implements _i4.Spreadsheet { ); } -class _FakeAppendValuesResponse_24 extends _i1.SmartFake implements _i4.AppendValuesResponse { +class _FakeAppendValuesResponse_24 extends _i1.SmartFake + implements _i4.AppendValuesResponse { _FakeAppendValuesResponse_24( Object parent, Invocation parentInvocation, @@ -275,7 +289,8 @@ class _FakeAppendValuesResponse_24 extends _i1.SmartFake implements _i4.AppendVa ); } -class _FakeBatchClearValuesResponse_25 extends _i1.SmartFake implements _i4.BatchClearValuesResponse { +class _FakeBatchClearValuesResponse_25 extends _i1.SmartFake + implements _i4.BatchClearValuesResponse { _FakeBatchClearValuesResponse_25( Object parent, Invocation parentInvocation, @@ -296,7 +311,8 @@ class _FakeBatchClearValuesByDataFilterResponse_26 extends _i1.SmartFake ); } -class _FakeBatchGetValuesResponse_27 extends _i1.SmartFake implements _i4.BatchGetValuesResponse { +class _FakeBatchGetValuesResponse_27 extends _i1.SmartFake + implements _i4.BatchGetValuesResponse { _FakeBatchGetValuesResponse_27( Object parent, Invocation parentInvocation, @@ -317,7 +333,8 @@ class _FakeBatchGetValuesByDataFilterResponse_28 extends _i1.SmartFake ); } -class _FakeBatchUpdateValuesResponse_29 extends _i1.SmartFake implements _i4.BatchUpdateValuesResponse { +class _FakeBatchUpdateValuesResponse_29 extends _i1.SmartFake + implements _i4.BatchUpdateValuesResponse { _FakeBatchUpdateValuesResponse_29( Object parent, Invocation parentInvocation, @@ -338,7 +355,8 @@ class _FakeBatchUpdateValuesByDataFilterResponse_30 extends _i1.SmartFake ); } -class _FakeClearValuesResponse_31 extends _i1.SmartFake implements _i4.ClearValuesResponse { +class _FakeClearValuesResponse_31 extends _i1.SmartFake + implements _i4.ClearValuesResponse { _FakeClearValuesResponse_31( Object parent, Invocation parentInvocation, @@ -358,7 +376,8 @@ class _FakeValueRange_32 extends _i1.SmartFake implements _i4.ValueRange { ); } -class _FakeUpdateValuesResponse_33 extends _i1.SmartFake implements _i4.UpdateValuesResponse { +class _FakeUpdateValuesResponse_33 extends _i1.SmartFake + implements _i4.UpdateValuesResponse { _FakeUpdateValuesResponse_33( Object parent, Invocation parentInvocation, @@ -854,7 +873,8 @@ class MockFilesResource extends _i1.Mock implements _i2.FilesResource { ], {#$fields: $fields}, ), - returnValue: _i5.Future<_i2.ModifyLabelsResponse>.value(_FakeModifyLabelsResponse_16( + returnValue: _i5.Future<_i2.ModifyLabelsResponse>.value( + _FakeModifyLabelsResponse_16( this, Invocation.method( #modifyLabels, @@ -1004,13 +1024,15 @@ class MockSheetsApi extends _i1.Mock implements _i4.SheetsApi { /// A class which mocks [SpreadsheetsResource]. /// /// See the documentation for Mockito's code generation for more information. -class MockSpreadsheetsResource extends _i1.Mock implements _i4.SpreadsheetsResource { +class MockSpreadsheetsResource extends _i1.Mock + implements _i4.SpreadsheetsResource { MockSpreadsheetsResource() { _i1.throwOnMissingStub(this); } @override - _i4.SpreadsheetsDeveloperMetadataResource get developerMetadata => (super.noSuchMethod( + _i4.SpreadsheetsDeveloperMetadataResource get developerMetadata => + (super.noSuchMethod( Invocation.getter(#developerMetadata), returnValue: _FakeSpreadsheetsDeveloperMetadataResource_19( this, @@ -1051,7 +1073,8 @@ class MockSpreadsheetsResource extends _i1.Mock implements _i4.SpreadsheetsResou ], {#$fields: $fields}, ), - returnValue: _i5.Future<_i4.BatchUpdateSpreadsheetResponse>.value(_FakeBatchUpdateSpreadsheetResponse_22( + returnValue: _i5.Future<_i4.BatchUpdateSpreadsheetResponse>.value( + _FakeBatchUpdateSpreadsheetResponse_22( this, Invocation.method( #batchUpdate, @@ -1148,7 +1171,8 @@ class MockSpreadsheetsResource extends _i1.Mock implements _i4.SpreadsheetsResou /// A class which mocks [SpreadsheetsValuesResource]. /// /// See the documentation for Mockito's code generation for more information. -class MockSpreadsheetsValuesResource extends _i1.Mock implements _i4.SpreadsheetsValuesResource { +class MockSpreadsheetsValuesResource extends _i1.Mock + implements _i4.SpreadsheetsValuesResource { MockSpreadsheetsValuesResource() { _i1.throwOnMissingStub(this); } @@ -1182,7 +1206,8 @@ class MockSpreadsheetsValuesResource extends _i1.Mock implements _i4.Spreadsheet #$fields: $fields, }, ), - returnValue: _i5.Future<_i4.AppendValuesResponse>.value(_FakeAppendValuesResponse_24( + returnValue: _i5.Future<_i4.AppendValuesResponse>.value( + _FakeAppendValuesResponse_24( this, Invocation.method( #append, @@ -1218,7 +1243,8 @@ class MockSpreadsheetsValuesResource extends _i1.Mock implements _i4.Spreadsheet ], {#$fields: $fields}, ), - returnValue: _i5.Future<_i4.BatchClearValuesResponse>.value(_FakeBatchClearValuesResponse_25( + returnValue: _i5.Future<_i4.BatchClearValuesResponse>.value( + _FakeBatchClearValuesResponse_25( this, Invocation.method( #batchClear, @@ -1246,8 +1272,8 @@ class MockSpreadsheetsValuesResource extends _i1.Mock implements _i4.Spreadsheet ], {#$fields: $fields}, ), - returnValue: - _i5.Future<_i4.BatchClearValuesByDataFilterResponse>.value(_FakeBatchClearValuesByDataFilterResponse_26( + returnValue: _i5.Future<_i4.BatchClearValuesByDataFilterResponse>.value( + _FakeBatchClearValuesByDataFilterResponse_26( this, Invocation.method( #batchClearByDataFilter, @@ -1281,7 +1307,8 @@ class MockSpreadsheetsValuesResource extends _i1.Mock implements _i4.Spreadsheet #$fields: $fields, }, ), - returnValue: _i5.Future<_i4.BatchGetValuesResponse>.value(_FakeBatchGetValuesResponse_27( + returnValue: _i5.Future<_i4.BatchGetValuesResponse>.value( + _FakeBatchGetValuesResponse_27( this, Invocation.method( #batchGet, @@ -1312,8 +1339,8 @@ class MockSpreadsheetsValuesResource extends _i1.Mock implements _i4.Spreadsheet ], {#$fields: $fields}, ), - returnValue: - _i5.Future<_i4.BatchGetValuesByDataFilterResponse>.value(_FakeBatchGetValuesByDataFilterResponse_28( + returnValue: _i5.Future<_i4.BatchGetValuesByDataFilterResponse>.value( + _FakeBatchGetValuesByDataFilterResponse_28( this, Invocation.method( #batchGetByDataFilter, @@ -1341,7 +1368,8 @@ class MockSpreadsheetsValuesResource extends _i1.Mock implements _i4.Spreadsheet ], {#$fields: $fields}, ), - returnValue: _i5.Future<_i4.BatchUpdateValuesResponse>.value(_FakeBatchUpdateValuesResponse_29( + returnValue: _i5.Future<_i4.BatchUpdateValuesResponse>.value( + _FakeBatchUpdateValuesResponse_29( this, Invocation.method( #batchUpdate, @@ -1370,7 +1398,8 @@ class MockSpreadsheetsValuesResource extends _i1.Mock implements _i4.Spreadsheet {#$fields: $fields}, ), returnValue: - _i5.Future<_i4.BatchUpdateValuesByDataFilterResponse>.value(_FakeBatchUpdateValuesByDataFilterResponse_30( + _i5.Future<_i4.BatchUpdateValuesByDataFilterResponse>.value( + _FakeBatchUpdateValuesByDataFilterResponse_30( this, Invocation.method( #batchUpdateByDataFilter, @@ -1400,7 +1429,8 @@ class MockSpreadsheetsValuesResource extends _i1.Mock implements _i4.Spreadsheet ], {#$fields: $fields}, ), - returnValue: _i5.Future<_i4.ClearValuesResponse>.value(_FakeClearValuesResponse_31( + returnValue: _i5.Future<_i4.ClearValuesResponse>.value( + _FakeClearValuesResponse_31( this, Invocation.method( #clear, @@ -1482,7 +1512,8 @@ class MockSpreadsheetsValuesResource extends _i1.Mock implements _i4.Spreadsheet #$fields: $fields, }, ), - returnValue: _i5.Future<_i4.UpdateValuesResponse>.value(_FakeUpdateValuesResponse_33( + returnValue: _i5.Future<_i4.UpdateValuesResponse>.value( + _FakeUpdateValuesResponse_33( this, Invocation.method( #update, diff --git a/test/mocks/mock_helpers.mocks.dart b/test/mocks/mock_helpers.mocks.dart index ee132159..a89e3040 100644 --- a/test/mocks/mock_helpers.mocks.dart +++ b/test/mocks/mock_helpers.mocks.dart @@ -6,7 +6,8 @@ import 'dart:async' as _i3; import 'package:image_cropper/src/cropper.dart' as _i2; -import 'package:image_cropper_platform_interface/image_cropper_platform_interface.dart' as _i4; +import 'package:image_cropper_platform_interface/image_cropper_platform_interface.dart' + as _i4; import 'package:mockito/mockito.dart' as _i1; // ignore_for_file: type=lint @@ -36,14 +37,6 @@ class MockImageCropper extends _i1.Mock implements _i2.ImageCropper { int? maxWidth, int? maxHeight, _i4.CropAspectRatio? aspectRatio, - List<_i4.CropAspectRatioPreset>? aspectRatioPresets = const [ - _i4.CropAspectRatioPreset.original, - _i4.CropAspectRatioPreset.square, - _i4.CropAspectRatioPreset.ratio3x2, - _i4.CropAspectRatioPreset.ratio4x3, - _i4.CropAspectRatioPreset.ratio16x9, - ], - _i4.CropStyle? cropStyle = _i4.CropStyle.rectangle, _i4.ImageCompressFormat? compressFormat = _i4.ImageCompressFormat.jpg, int? compressQuality = 90, List<_i4.PlatformUiSettings>? uiSettings, @@ -57,8 +50,6 @@ class MockImageCropper extends _i1.Mock implements _i2.ImageCropper { #maxWidth: maxWidth, #maxHeight: maxHeight, #aspectRatio: aspectRatio, - #aspectRatioPresets: aspectRatioPresets, - #cropStyle: cropStyle, #compressFormat: compressFormat, #compressQuality: compressQuality, #uiSettings: uiSettings, diff --git a/test/mocks/mock_storage.mocks.dart b/test/mocks/mock_storage.mocks.dart index 0bb508c8..4eb7a3f4 100644 --- a/test/mocks/mock_storage.mocks.dart +++ b/test/mocks/mock_storage.mocks.dart @@ -32,7 +32,8 @@ class _FakeDatabase_0 extends _i1.SmartFake implements _i2.Database { ); } -class _FakeStorageSanitizedData_1 extends _i1.SmartFake implements _i3.StorageSanitizedData { +class _FakeStorageSanitizedData_1 extends _i1.SmartFake + implements _i3.StorageSanitizedData { _FakeStorageSanitizedData_1( Object parent, Invocation parentInvocation, @@ -100,11 +101,13 @@ class MockStorage extends _i1.Mock implements _i3.Storage { record, ], ), - returnValue: _i4.Future>.value({}), + returnValue: + _i4.Future>.value({}), ) as _i4.Future>); @override - _i4.Future initialize({_i3.StorageOpener? opener}) => (super.noSuchMethod( + _i4.Future initialize({_i3.StorageOpener? opener}) => + (super.noSuchMethod( Invocation.method( #initialize, [], @@ -132,7 +135,8 @@ class MockStorage extends _i1.Mock implements _i3.Storage { ) as _i4.Future); @override - _i3.StorageSanitizedData sanitize(Map? data) => (super.noSuchMethod( + _i3.StorageSanitizedData sanitize(Map? data) => + (super.noSuchMethod( Invocation.method( #sanitize, [data], diff --git a/test/services/auth_test.mocks.dart b/test/services/auth_test.mocks.dart index 113a9b97..dd1463f8 100644 --- a/test/services/auth_test.mocks.dart +++ b/test/services/auth_test.mocks.dart @@ -6,10 +6,12 @@ import 'dart:async' as _i7; import 'package:firebase_auth/firebase_auth.dart' as _i4; -import 'package:firebase_auth_platform_interface/firebase_auth_platform_interface.dart' as _i3; +import 'package:firebase_auth_platform_interface/firebase_auth_platform_interface.dart' + as _i3; import 'package:firebase_core/firebase_core.dart' as _i2; import 'package:google_sign_in/google_sign_in.dart' as _i5; -import 'package:google_sign_in_platform_interface/google_sign_in_platform_interface.dart' as _i6; +import 'package:google_sign_in_platform_interface/google_sign_in_platform_interface.dart' + as _i6; import 'package:mockito/mockito.dart' as _i1; import 'package:mockito/src/dummies.dart' as _i8; @@ -36,7 +38,8 @@ class _FakeFirebaseApp_0 extends _i1.SmartFake implements _i2.FirebaseApp { ); } -class _FakeActionCodeInfo_1 extends _i1.SmartFake implements _i3.ActionCodeInfo { +class _FakeActionCodeInfo_1 extends _i1.SmartFake + implements _i3.ActionCodeInfo { _FakeActionCodeInfo_1( Object parent, Invocation parentInvocation, @@ -46,7 +49,8 @@ class _FakeActionCodeInfo_1 extends _i1.SmartFake implements _i3.ActionCodeInfo ); } -class _FakeUserCredential_2 extends _i1.SmartFake implements _i4.UserCredential { +class _FakeUserCredential_2 extends _i1.SmartFake + implements _i4.UserCredential { _FakeUserCredential_2( Object parent, Invocation parentInvocation, @@ -56,7 +60,8 @@ class _FakeUserCredential_2 extends _i1.SmartFake implements _i4.UserCredential ); } -class _FakeConfirmationResult_3 extends _i1.SmartFake implements _i4.ConfirmationResult { +class _FakeConfirmationResult_3 extends _i1.SmartFake + implements _i4.ConfirmationResult { _FakeConfirmationResult_3( Object parent, Invocation parentInvocation, @@ -66,7 +71,8 @@ class _FakeConfirmationResult_3 extends _i1.SmartFake implements _i4.Confirmatio ); } -class _FakeGoogleSignInAuthentication_4 extends _i1.SmartFake implements _i5.GoogleSignInAuthentication { +class _FakeGoogleSignInAuthentication_4 extends _i1.SmartFake + implements _i5.GoogleSignInAuthentication { _FakeGoogleSignInAuthentication_4( Object parent, Invocation parentInvocation, @@ -143,7 +149,8 @@ class MockGoogleSignIn extends _i1.Mock implements _i5.GoogleSignIn { ) as bool); @override - _i7.Stream<_i5.GoogleSignInAccount?> get onCurrentUserChanged => (super.noSuchMethod( + _i7.Stream<_i5.GoogleSignInAccount?> get onCurrentUserChanged => + (super.noSuchMethod( Invocation.getter(#onCurrentUserChanged), returnValue: _i7.Stream<_i5.GoogleSignInAccount?>.empty(), ) as _i7.Stream<_i5.GoogleSignInAccount?>); @@ -315,7 +322,8 @@ class MockFirebaseAuth extends _i1.Mock implements _i4.FirebaseAuth { ) as _i7.Future); @override - _i7.Future<_i3.ActionCodeInfo> checkActionCode(String? code) => (super.noSuchMethod( + _i7.Future<_i3.ActionCodeInfo> checkActionCode(String? code) => + (super.noSuchMethod( Invocation.method( #checkActionCode, [code], @@ -375,7 +383,8 @@ class MockFirebaseAuth extends _i1.Mock implements _i4.FirebaseAuth { ) as _i7.Future<_i4.UserCredential>); @override - _i7.Future> fetchSignInMethodsForEmail(String? email) => (super.noSuchMethod( + _i7.Future> fetchSignInMethodsForEmail(String? email) => + (super.noSuchMethod( Invocation.method( #fetchSignInMethodsForEmail, [email], @@ -493,7 +502,8 @@ class MockFirebaseAuth extends _i1.Mock implements _i4.FirebaseAuth { #setSettings, [], { - #appVerificationDisabledForTesting: appVerificationDisabledForTesting, + #appVerificationDisabledForTesting: + appVerificationDisabledForTesting, #userAccessGroup: userAccessGroup, #phoneNumber: phoneNumber, #smsCode: smsCode, @@ -505,7 +515,8 @@ class MockFirebaseAuth extends _i1.Mock implements _i4.FirebaseAuth { ) as _i7.Future); @override - _i7.Future setPersistence(_i3.Persistence? persistence) => (super.noSuchMethod( + _i7.Future setPersistence(_i3.Persistence? persistence) => + (super.noSuchMethod( Invocation.method( #setPersistence, [persistence], @@ -530,7 +541,9 @@ class MockFirebaseAuth extends _i1.Mock implements _i4.FirebaseAuth { ) as _i7.Future<_i4.UserCredential>); @override - _i7.Future<_i4.UserCredential> signInWithCredential(_i3.AuthCredential? credential) => (super.noSuchMethod( + _i7.Future<_i4.UserCredential> signInWithCredential( + _i3.AuthCredential? credential) => + (super.noSuchMethod( Invocation.method( #signInWithCredential, [credential], @@ -545,7 +558,8 @@ class MockFirebaseAuth extends _i1.Mock implements _i4.FirebaseAuth { ) as _i7.Future<_i4.UserCredential>); @override - _i7.Future<_i4.UserCredential> signInWithCustomToken(String? token) => (super.noSuchMethod( + _i7.Future<_i4.UserCredential> signInWithCustomToken(String? token) => + (super.noSuchMethod( Invocation.method( #signInWithCustomToken, [token], @@ -614,7 +628,9 @@ class MockFirebaseAuth extends _i1.Mock implements _i4.FirebaseAuth { ) as _i7.Future<_i4.UserCredential>); @override - _i7.Future<_i4.UserCredential> signInWithAuthProvider(_i3.AuthProvider? provider) => (super.noSuchMethod( + _i7.Future<_i4.UserCredential> signInWithAuthProvider( + _i3.AuthProvider? provider) => + (super.noSuchMethod( Invocation.method( #signInWithAuthProvider, [provider], @@ -629,7 +645,9 @@ class MockFirebaseAuth extends _i1.Mock implements _i4.FirebaseAuth { ) as _i7.Future<_i4.UserCredential>); @override - _i7.Future<_i4.UserCredential> signInWithProvider(_i3.AuthProvider? provider) => (super.noSuchMethod( + _i7.Future<_i4.UserCredential> signInWithProvider( + _i3.AuthProvider? provider) => + (super.noSuchMethod( Invocation.method( #signInWithProvider, [provider], @@ -656,7 +674,8 @@ class MockFirebaseAuth extends _i1.Mock implements _i4.FirebaseAuth { verifier, ], ), - returnValue: _i7.Future<_i4.ConfirmationResult>.value(_FakeConfirmationResult_3( + returnValue: + _i7.Future<_i4.ConfirmationResult>.value(_FakeConfirmationResult_3( this, Invocation.method( #signInWithPhoneNumber, @@ -669,7 +688,8 @@ class MockFirebaseAuth extends _i1.Mock implements _i4.FirebaseAuth { ) as _i7.Future<_i4.ConfirmationResult>); @override - _i7.Future<_i4.UserCredential> signInWithPopup(_i3.AuthProvider? provider) => (super.noSuchMethod( + _i7.Future<_i4.UserCredential> signInWithPopup(_i3.AuthProvider? provider) => + (super.noSuchMethod( Invocation.method( #signInWithPopup, [provider], @@ -684,7 +704,8 @@ class MockFirebaseAuth extends _i1.Mock implements _i4.FirebaseAuth { ) as _i7.Future<_i4.UserCredential>); @override - _i7.Future signInWithRedirect(_i3.AuthProvider? provider) => (super.noSuchMethod( + _i7.Future signInWithRedirect(_i3.AuthProvider? provider) => + (super.noSuchMethod( Invocation.method( #signInWithRedirect, [provider], @@ -704,7 +725,8 @@ class MockFirebaseAuth extends _i1.Mock implements _i4.FirebaseAuth { ) as _i7.Future); @override - _i7.Future verifyPasswordResetCode(String? code) => (super.noSuchMethod( + _i7.Future verifyPasswordResetCode(String? code) => + (super.noSuchMethod( Invocation.method( #verifyPasswordResetCode, [code], @@ -753,7 +775,9 @@ class MockFirebaseAuth extends _i1.Mock implements _i4.FirebaseAuth { ) as _i7.Future); @override - _i7.Future revokeTokenWithAuthorizationCode(String? authorizationCode) => (super.noSuchMethod( + _i7.Future revokeTokenWithAuthorizationCode( + String? authorizationCode) => + (super.noSuchMethod( Invocation.method( #revokeTokenWithAuthorizationCode, [authorizationCode], @@ -767,7 +791,8 @@ class MockFirebaseAuth extends _i1.Mock implements _i4.FirebaseAuth { /// /// See the documentation for Mockito's code generation for more information. // ignore: must_be_immutable -class MockGoogleSignInAccount extends _i1.Mock implements _i5.GoogleSignInAccount { +class MockGoogleSignInAccount extends _i1.Mock + implements _i5.GoogleSignInAccount { MockGoogleSignInAccount() { _i1.throwOnMissingStub(this); } @@ -791,9 +816,11 @@ class MockGoogleSignInAccount extends _i1.Mock implements _i5.GoogleSignInAccoun ) as String); @override - _i7.Future<_i5.GoogleSignInAuthentication> get authentication => (super.noSuchMethod( + _i7.Future<_i5.GoogleSignInAuthentication> get authentication => + (super.noSuchMethod( Invocation.getter(#authentication), - returnValue: _i7.Future<_i5.GoogleSignInAuthentication>.value(_FakeGoogleSignInAuthentication_4( + returnValue: _i7.Future<_i5.GoogleSignInAuthentication>.value( + _FakeGoogleSignInAuthentication_4( this, Invocation.getter(#authentication), )), @@ -819,7 +846,8 @@ class MockGoogleSignInAccount extends _i1.Mock implements _i5.GoogleSignInAccoun /// A class which mocks [GoogleSignInAuthentication]. /// /// See the documentation for Mockito's code generation for more information. -class MockGoogleSignInAuthentication extends _i1.Mock implements _i5.GoogleSignInAuthentication { +class MockGoogleSignInAuthentication extends _i1.Mock + implements _i5.GoogleSignInAuthentication { MockGoogleSignInAuthentication() { _i1.throwOnMissingStub(this); } @@ -889,7 +917,8 @@ class MockUser extends _i1.Mock implements _i4.User { ) as _i7.Future); @override - _i7.Future getIdToken([bool? forceRefresh = false]) => (super.noSuchMethod( + _i7.Future getIdToken([bool? forceRefresh = false]) => + (super.noSuchMethod( Invocation.method( #getIdToken, [forceRefresh], @@ -898,7 +927,9 @@ class MockUser extends _i1.Mock implements _i4.User { ) as _i7.Future); @override - _i7.Future<_i3.IdTokenResult> getIdTokenResult([bool? forceRefresh = false]) => (super.noSuchMethod( + _i7.Future<_i3.IdTokenResult> getIdTokenResult( + [bool? forceRefresh = false]) => + (super.noSuchMethod( Invocation.method( #getIdTokenResult, [forceRefresh], @@ -913,7 +944,9 @@ class MockUser extends _i1.Mock implements _i4.User { ) as _i7.Future<_i3.IdTokenResult>); @override - _i7.Future<_i4.UserCredential> linkWithCredential(_i3.AuthCredential? credential) => (super.noSuchMethod( + _i7.Future<_i4.UserCredential> linkWithCredential( + _i3.AuthCredential? credential) => + (super.noSuchMethod( Invocation.method( #linkWithCredential, [credential], @@ -928,7 +961,8 @@ class MockUser extends _i1.Mock implements _i4.User { ) as _i7.Future<_i4.UserCredential>); @override - _i7.Future<_i4.UserCredential> linkWithProvider(_i3.AuthProvider? provider) => (super.noSuchMethod( + _i7.Future<_i4.UserCredential> linkWithProvider(_i3.AuthProvider? provider) => + (super.noSuchMethod( Invocation.method( #linkWithProvider, [provider], @@ -943,7 +977,9 @@ class MockUser extends _i1.Mock implements _i4.User { ) as _i7.Future<_i4.UserCredential>); @override - _i7.Future<_i4.UserCredential> reauthenticateWithProvider(_i3.AuthProvider? provider) => (super.noSuchMethod( + _i7.Future<_i4.UserCredential> reauthenticateWithProvider( + _i3.AuthProvider? provider) => + (super.noSuchMethod( Invocation.method( #reauthenticateWithProvider, [provider], @@ -958,7 +994,9 @@ class MockUser extends _i1.Mock implements _i4.User { ) as _i7.Future<_i4.UserCredential>); @override - _i7.Future<_i4.UserCredential> reauthenticateWithPopup(_i3.AuthProvider? provider) => (super.noSuchMethod( + _i7.Future<_i4.UserCredential> reauthenticateWithPopup( + _i3.AuthProvider? provider) => + (super.noSuchMethod( Invocation.method( #reauthenticateWithPopup, [provider], @@ -973,7 +1011,8 @@ class MockUser extends _i1.Mock implements _i4.User { ) as _i7.Future<_i4.UserCredential>); @override - _i7.Future reauthenticateWithRedirect(_i3.AuthProvider? provider) => (super.noSuchMethod( + _i7.Future reauthenticateWithRedirect(_i3.AuthProvider? provider) => + (super.noSuchMethod( Invocation.method( #reauthenticateWithRedirect, [provider], @@ -983,7 +1022,8 @@ class MockUser extends _i1.Mock implements _i4.User { ) as _i7.Future); @override - _i7.Future<_i4.UserCredential> linkWithPopup(_i3.AuthProvider? provider) => (super.noSuchMethod( + _i7.Future<_i4.UserCredential> linkWithPopup(_i3.AuthProvider? provider) => + (super.noSuchMethod( Invocation.method( #linkWithPopup, [provider], @@ -998,7 +1038,8 @@ class MockUser extends _i1.Mock implements _i4.User { ) as _i7.Future<_i4.UserCredential>); @override - _i7.Future linkWithRedirect(_i3.AuthProvider? provider) => (super.noSuchMethod( + _i7.Future linkWithRedirect(_i3.AuthProvider? provider) => + (super.noSuchMethod( Invocation.method( #linkWithRedirect, [provider], @@ -1020,7 +1061,8 @@ class MockUser extends _i1.Mock implements _i4.User { verifier, ], ), - returnValue: _i7.Future<_i4.ConfirmationResult>.value(_FakeConfirmationResult_3( + returnValue: + _i7.Future<_i4.ConfirmationResult>.value(_FakeConfirmationResult_3( this, Invocation.method( #linkWithPhoneNumber, @@ -1033,7 +1075,9 @@ class MockUser extends _i1.Mock implements _i4.User { ) as _i7.Future<_i4.ConfirmationResult>); @override - _i7.Future<_i4.UserCredential> reauthenticateWithCredential(_i3.AuthCredential? credential) => (super.noSuchMethod( + _i7.Future<_i4.UserCredential> reauthenticateWithCredential( + _i3.AuthCredential? credential) => + (super.noSuchMethod( Invocation.method( #reauthenticateWithCredential, [credential], @@ -1058,7 +1102,9 @@ class MockUser extends _i1.Mock implements _i4.User { ) as _i7.Future); @override - _i7.Future sendEmailVerification([_i3.ActionCodeSettings? actionCodeSettings]) => (super.noSuchMethod( + _i7.Future sendEmailVerification( + [_i3.ActionCodeSettings? actionCodeSettings]) => + (super.noSuchMethod( Invocation.method( #sendEmailVerification, [actionCodeSettings], @@ -1103,7 +1149,9 @@ class MockUser extends _i1.Mock implements _i4.User { ) as _i7.Future); @override - _i7.Future updatePhoneNumber(_i3.PhoneAuthCredential? phoneCredential) => (super.noSuchMethod( + _i7.Future updatePhoneNumber( + _i3.PhoneAuthCredential? phoneCredential) => + (super.noSuchMethod( Invocation.method( #updatePhoneNumber, [phoneCredential], @@ -1113,7 +1161,8 @@ class MockUser extends _i1.Mock implements _i4.User { ) as _i7.Future); @override - _i7.Future updateDisplayName(String? displayName) => (super.noSuchMethod( + _i7.Future updateDisplayName(String? displayName) => + (super.noSuchMethod( Invocation.method( #updateDisplayName, [displayName], diff --git a/test/services/cache_test.mocks.dart b/test/services/cache_test.mocks.dart index 10f4c984..b1556321 100644 --- a/test/services/cache_test.mocks.dart +++ b/test/services/cache_test.mocks.dart @@ -6,7 +6,7 @@ import 'dart:async' as _i3; import 'package:mockito/mockito.dart' as _i1; -import 'package:shared_preferences/shared_preferences.dart' as _i2; +import 'package:shared_preferences/src/shared_preferences_legacy.dart' as _i2; // ignore_for_file: type=lint // ignore_for_file: avoid_redundant_argument_values @@ -78,7 +78,8 @@ class MockSharedPreferences extends _i1.Mock implements _i2.SharedPreferences { ) as bool); @override - List? getStringList(String? key) => (super.noSuchMethod(Invocation.method( + List? getStringList(String? key) => + (super.noSuchMethod(Invocation.method( #getStringList, [key], )) as List?); diff --git a/test/services/database_test.mocks.dart b/test/services/database_test.mocks.dart index 1771caf6..58c3f56f 100644 --- a/test/services/database_test.mocks.dart +++ b/test/services/database_test.mocks.dart @@ -138,7 +138,9 @@ class MockDatabase extends _i1.Mock implements _i2.Database { ) as _i3.Future); @override - _i3.Future readTransaction(_i3.Future Function(_i2.Transaction)? action) => (super.noSuchMethod( + _i3.Future readTransaction( + _i3.Future Function(_i2.Transaction)? action) => + (super.noSuchMethod( Invocation.method( #readTransaction, [action], @@ -326,7 +328,8 @@ class MockDatabase extends _i1.Mock implements _i2.Database { #offset: offset, }, ), - returnValue: _i3.Future>>.value(>[]), + returnValue: _i3.Future>>.value( + >[]), ) as _i3.Future>>); @override @@ -342,7 +345,8 @@ class MockDatabase extends _i1.Mock implements _i2.Database { arguments, ], ), - returnValue: _i3.Future>>.value(>[]), + returnValue: _i3.Future>>.value( + >[]), ) as _i3.Future>>); @override