From c4d528733d1d4f70dab56c1f8dae7eec23a27f1d Mon Sep 17 00:00:00 2001 From: GT610 <79314033+GT-610@users.noreply.github.com> Date: Mon, 23 Mar 2026 23:17:35 +0800 Subject: [PATCH] chore: Update dependencies and remove unused plugins (#1086) - Update Riverpod-related dependencies to the latest versions - Remove the app_links and gtk plugins - Update the reference path for hive_ce - Adjust the provider implementation in the generated code --- lib/data/provider/container.g.dart | 12 +- .../provider/port_forward_provider.g.dart | 11 +- lib/data/provider/private_key.g.dart | 7 +- lib/data/provider/pve.g.dart | 9 +- lib/data/provider/server/all.g.dart | 7 +- lib/data/provider/server/single.g.dart | 9 +- lib/data/provider/sftp.g.dart | 7 +- lib/data/provider/snippet.g.dart | 7 +- lib/data/provider/systemd.g.dart | 9 +- lib/data/provider/virtual_keyboard.g.dart | 7 +- lib/hive/hive_registrar.g.dart | 2 +- linux/flutter/generated_plugin_registrant.cc | 4 - linux/flutter/generated_plugins.cmake | 1 - macos/Flutter/GeneratedPluginRegistrant.swift | 2 - packages/fl_lib | 2 +- pubspec.lock | 112 ++++-------------- pubspec.yaml | 8 +- .../flutter/generated_plugin_registrant.cc | 3 - windows/flutter/generated_plugins.cmake | 1 - 19 files changed, 69 insertions(+), 151 deletions(-) diff --git a/lib/data/provider/container.g.dart b/lib/data/provider/container.g.dart index 8254ac89..beedaec4 100644 --- a/lib/data/provider/container.g.dart +++ b/lib/data/provider/container.g.dart @@ -10,11 +10,11 @@ part of 'container.dart'; // ignore_for_file: type=lint, type=warning @ProviderFor(ContainerNotifier) -const containerProvider = ContainerNotifierFamily._(); +final containerProvider = ContainerNotifierFamily._(); final class ContainerNotifierProvider extends $NotifierProvider { - const ContainerNotifierProvider._({ + ContainerNotifierProvider._({ required ContainerNotifierFamily super.from, required (SSHClient?, String, String, BuildContext) super.argument, }) : super( @@ -69,7 +69,7 @@ final class ContainerNotifierFamily extends $Family ContainerState, (SSHClient?, String, String, BuildContext) > { - const ContainerNotifierFamily._() + ContainerNotifierFamily._() : super( retry: null, name: r'containerProvider', @@ -108,7 +108,6 @@ abstract class _$ContainerNotifier extends $Notifier { @$mustCallSuper @override void runBuild() { - final created = build(_$args.$1, _$args.$2, _$args.$3, _$args.$4); final ref = this.ref as $Ref; final element = ref.element @@ -118,6 +117,9 @@ abstract class _$ContainerNotifier extends $Notifier { Object?, Object? >; - element.handleValue(ref, created); + element.handleCreate( + ref, + () => build(_$args.$1, _$args.$2, _$args.$3, _$args.$4), + ); } } diff --git a/lib/data/provider/port_forward_provider.g.dart b/lib/data/provider/port_forward_provider.g.dart index 3ce95687..f21d9155 100644 --- a/lib/data/provider/port_forward_provider.g.dart +++ b/lib/data/provider/port_forward_provider.g.dart @@ -10,11 +10,11 @@ part of 'port_forward_provider.dart'; // ignore_for_file: type=lint, type=warning @ProviderFor(PortForwardNotifier) -const portForwardProvider = PortForwardNotifierFamily._(); +final portForwardProvider = PortForwardNotifierFamily._(); final class PortForwardNotifierProvider extends $NotifierProvider { - const PortForwardNotifierProvider._({ + PortForwardNotifierProvider._({ required PortForwardNotifierFamily super.from, required String super.argument, }) : super( @@ -59,7 +59,7 @@ final class PortForwardNotifierProvider } String _$portForwardNotifierHash() => - r'e9a93e4e4ee526d334eaaba0e3e0093de7a337fd'; + r'c56425252253c276b6202f478d3475e8fe0c1c64'; final class PortForwardNotifierFamily extends $Family with @@ -70,7 +70,7 @@ final class PortForwardNotifierFamily extends $Family PortForwardState, String > { - const PortForwardNotifierFamily._() + PortForwardNotifierFamily._() : super( retry: null, name: r'portForwardProvider', @@ -94,7 +94,6 @@ abstract class _$PortForwardNotifier extends $Notifier { @$mustCallSuper @override void runBuild() { - final created = build(_$args); final ref = this.ref as $Ref; final element = ref.element @@ -104,6 +103,6 @@ abstract class _$PortForwardNotifier extends $Notifier { Object?, Object? >; - element.handleValue(ref, created); + element.handleCreate(ref, () => build(_$args)); } } diff --git a/lib/data/provider/private_key.g.dart b/lib/data/provider/private_key.g.dart index 64963f3d..3670a00d 100644 --- a/lib/data/provider/private_key.g.dart +++ b/lib/data/provider/private_key.g.dart @@ -10,11 +10,11 @@ part of 'private_key.dart'; // ignore_for_file: type=lint, type=warning @ProviderFor(PrivateKeyNotifier) -const privateKeyProvider = PrivateKeyNotifierProvider._(); +final privateKeyProvider = PrivateKeyNotifierProvider._(); final class PrivateKeyNotifierProvider extends $NotifierProvider { - const PrivateKeyNotifierProvider._() + PrivateKeyNotifierProvider._() : super( from: null, argument: null, @@ -49,7 +49,6 @@ abstract class _$PrivateKeyNotifier extends $Notifier { @$mustCallSuper @override void runBuild() { - final created = build(); final ref = this.ref as $Ref; final element = ref.element @@ -59,6 +58,6 @@ abstract class _$PrivateKeyNotifier extends $Notifier { Object?, Object? >; - element.handleValue(ref, created); + element.handleCreate(ref, build); } } diff --git a/lib/data/provider/pve.g.dart b/lib/data/provider/pve.g.dart index 201ee95d..894c8b9c 100644 --- a/lib/data/provider/pve.g.dart +++ b/lib/data/provider/pve.g.dart @@ -10,11 +10,11 @@ part of 'pve.dart'; // ignore_for_file: type=lint, type=warning @ProviderFor(PveNotifier) -const pveProvider = PveNotifierFamily._(); +final pveProvider = PveNotifierFamily._(); final class PveNotifierProvider extends $NotifierProvider { - const PveNotifierProvider._({ + PveNotifierProvider._({ required PveNotifierFamily super.from, required Spi super.argument, }) : super( @@ -62,7 +62,7 @@ String _$pveNotifierHash() => r'1f80a27896013a275e5222f19e5ee3c3a68e2f84'; final class PveNotifierFamily extends $Family with $ClassFamilyOverride { - const PveNotifierFamily._() + PveNotifierFamily._() : super( retry: null, name: r'pveProvider', @@ -86,7 +86,6 @@ abstract class _$PveNotifier extends $Notifier { @$mustCallSuper @override void runBuild() { - final created = build(_$args); final ref = this.ref as $Ref; final element = ref.element @@ -96,6 +95,6 @@ abstract class _$PveNotifier extends $Notifier { Object?, Object? >; - element.handleValue(ref, created); + element.handleCreate(ref, () => build(_$args)); } } diff --git a/lib/data/provider/server/all.g.dart b/lib/data/provider/server/all.g.dart index bf1fc413..9fef9e9d 100644 --- a/lib/data/provider/server/all.g.dart +++ b/lib/data/provider/server/all.g.dart @@ -10,11 +10,11 @@ part of 'all.dart'; // ignore_for_file: type=lint, type=warning @ProviderFor(ServersNotifier) -const serversProvider = ServersNotifierProvider._(); +final serversProvider = ServersNotifierProvider._(); final class ServersNotifierProvider extends $NotifierProvider { - const ServersNotifierProvider._() + ServersNotifierProvider._() : super( from: null, argument: null, @@ -48,7 +48,6 @@ abstract class _$ServersNotifier extends $Notifier { @$mustCallSuper @override void runBuild() { - final created = build(); final ref = this.ref as $Ref; final element = ref.element @@ -58,6 +57,6 @@ abstract class _$ServersNotifier extends $Notifier { Object?, Object? >; - element.handleValue(ref, created); + element.handleCreate(ref, build); } } diff --git a/lib/data/provider/server/single.g.dart b/lib/data/provider/server/single.g.dart index 3b0d4dc1..fb57c48f 100644 --- a/lib/data/provider/server/single.g.dart +++ b/lib/data/provider/server/single.g.dart @@ -10,11 +10,11 @@ part of 'single.dart'; // ignore_for_file: type=lint, type=warning @ProviderFor(ServerNotifier) -const serverProvider = ServerNotifierFamily._(); +final serverProvider = ServerNotifierFamily._(); final class ServerNotifierProvider extends $NotifierProvider { - const ServerNotifierProvider._({ + ServerNotifierProvider._({ required ServerNotifierFamily super.from, required String super.argument, }) : super( @@ -69,7 +69,7 @@ final class ServerNotifierFamily extends $Family ServerState, String > { - const ServerNotifierFamily._() + ServerNotifierFamily._() : super( retry: null, name: r'serverProvider', @@ -93,7 +93,6 @@ abstract class _$ServerNotifier extends $Notifier { @$mustCallSuper @override void runBuild() { - final created = build(_$args); final ref = this.ref as $Ref; final element = ref.element @@ -103,6 +102,6 @@ abstract class _$ServerNotifier extends $Notifier { Object?, Object? >; - element.handleValue(ref, created); + element.handleCreate(ref, () => build(_$args)); } } diff --git a/lib/data/provider/sftp.g.dart b/lib/data/provider/sftp.g.dart index 47eb1599..21f060cc 100644 --- a/lib/data/provider/sftp.g.dart +++ b/lib/data/provider/sftp.g.dart @@ -10,11 +10,11 @@ part of 'sftp.dart'; // ignore_for_file: type=lint, type=warning @ProviderFor(SftpNotifier) -const sftpProvider = SftpNotifierProvider._(); +final sftpProvider = SftpNotifierProvider._(); final class SftpNotifierProvider extends $NotifierProvider { - const SftpNotifierProvider._() + SftpNotifierProvider._() : super( from: null, argument: null, @@ -48,7 +48,6 @@ abstract class _$SftpNotifier extends $Notifier { @$mustCallSuper @override void runBuild() { - final created = build(); final ref = this.ref as $Ref; final element = ref.element @@ -58,6 +57,6 @@ abstract class _$SftpNotifier extends $Notifier { Object?, Object? >; - element.handleValue(ref, created); + element.handleCreate(ref, build); } } diff --git a/lib/data/provider/snippet.g.dart b/lib/data/provider/snippet.g.dart index 36bc4e8b..965fe314 100644 --- a/lib/data/provider/snippet.g.dart +++ b/lib/data/provider/snippet.g.dart @@ -10,11 +10,11 @@ part of 'snippet.dart'; // ignore_for_file: type=lint, type=warning @ProviderFor(SnippetNotifier) -const snippetProvider = SnippetNotifierProvider._(); +final snippetProvider = SnippetNotifierProvider._(); final class SnippetNotifierProvider extends $NotifierProvider { - const SnippetNotifierProvider._() + SnippetNotifierProvider._() : super( from: null, argument: null, @@ -48,7 +48,6 @@ abstract class _$SnippetNotifier extends $Notifier { @$mustCallSuper @override void runBuild() { - final created = build(); final ref = this.ref as $Ref; final element = ref.element @@ -58,6 +57,6 @@ abstract class _$SnippetNotifier extends $Notifier { Object?, Object? >; - element.handleValue(ref, created); + element.handleCreate(ref, build); } } diff --git a/lib/data/provider/systemd.g.dart b/lib/data/provider/systemd.g.dart index 1401c48f..3984c293 100644 --- a/lib/data/provider/systemd.g.dart +++ b/lib/data/provider/systemd.g.dart @@ -10,11 +10,11 @@ part of 'systemd.dart'; // ignore_for_file: type=lint, type=warning @ProviderFor(SystemdNotifier) -const systemdProvider = SystemdNotifierFamily._(); +final systemdProvider = SystemdNotifierFamily._(); final class SystemdNotifierProvider extends $NotifierProvider { - const SystemdNotifierProvider._({ + SystemdNotifierProvider._({ required SystemdNotifierFamily super.from, required Spi super.argument, }) : super( @@ -69,7 +69,7 @@ final class SystemdNotifierFamily extends $Family SystemdState, Spi > { - const SystemdNotifierFamily._() + SystemdNotifierFamily._() : super( retry: null, name: r'systemdProvider', @@ -93,7 +93,6 @@ abstract class _$SystemdNotifier extends $Notifier { @$mustCallSuper @override void runBuild() { - final created = build(_$args); final ref = this.ref as $Ref; final element = ref.element @@ -103,6 +102,6 @@ abstract class _$SystemdNotifier extends $Notifier { Object?, Object? >; - element.handleValue(ref, created); + element.handleCreate(ref, () => build(_$args)); } } diff --git a/lib/data/provider/virtual_keyboard.g.dart b/lib/data/provider/virtual_keyboard.g.dart index 49d4e1a7..eefe07b9 100644 --- a/lib/data/provider/virtual_keyboard.g.dart +++ b/lib/data/provider/virtual_keyboard.g.dart @@ -10,11 +10,11 @@ part of 'virtual_keyboard.dart'; // ignore_for_file: type=lint, type=warning @ProviderFor(VirtKeyboard) -const virtKeyboardProvider = VirtKeyboardProvider._(); +final virtKeyboardProvider = VirtKeyboardProvider._(); final class VirtKeyboardProvider extends $NotifierProvider { - const VirtKeyboardProvider._() + VirtKeyboardProvider._() : super( from: null, argument: null, @@ -48,7 +48,6 @@ abstract class _$VirtKeyboard extends $Notifier { @$mustCallSuper @override void runBuild() { - final created = build(); final ref = this.ref as $Ref; final element = ref.element @@ -58,6 +57,6 @@ abstract class _$VirtKeyboard extends $Notifier { Object?, Object? >; - element.handleValue(ref, created); + element.handleCreate(ref, build); } } diff --git a/lib/hive/hive_registrar.g.dart b/lib/hive/hive_registrar.g.dart index 79e37bd0..c9ece21d 100644 --- a/lib/hive/hive_registrar.g.dart +++ b/lib/hive/hive_registrar.g.dart @@ -2,7 +2,7 @@ // Do not modify // Check in to version control -import 'package:hive_ce/hive.dart'; +import 'package:hive_ce/hive_ce.dart'; import 'package:server_box/data/model/app/tab.dart'; import 'package:server_box/data/model/server/connection_stat.dart'; import 'package:server_box/hive/hive_adapters.dart'; diff --git a/linux/flutter/generated_plugin_registrant.cc b/linux/flutter/generated_plugin_registrant.cc index adc190d4..820c3a7e 100644 --- a/linux/flutter/generated_plugin_registrant.cc +++ b/linux/flutter/generated_plugin_registrant.cc @@ -8,7 +8,6 @@ #include #include -#include #include #include #include @@ -20,9 +19,6 @@ void fl_register_plugins(FlPluginRegistry* registry) { g_autoptr(FlPluginRegistrar) flutter_secure_storage_linux_registrar = fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterSecureStorageLinuxPlugin"); flutter_secure_storage_linux_plugin_register_with_registrar(flutter_secure_storage_linux_registrar); - g_autoptr(FlPluginRegistrar) gtk_registrar = - fl_plugin_registry_get_registrar_for_plugin(registry, "GtkPlugin"); - gtk_plugin_register_with_registrar(gtk_registrar); g_autoptr(FlPluginRegistrar) screen_retriever_linux_registrar = fl_plugin_registry_get_registrar_for_plugin(registry, "ScreenRetrieverLinuxPlugin"); screen_retriever_linux_plugin_register_with_registrar(screen_retriever_linux_registrar); diff --git a/linux/flutter/generated_plugins.cmake b/linux/flutter/generated_plugins.cmake index 32f9bfe9..d3790845 100644 --- a/linux/flutter/generated_plugins.cmake +++ b/linux/flutter/generated_plugins.cmake @@ -5,7 +5,6 @@ list(APPEND FLUTTER_PLUGIN_LIST dynamic_color flutter_secure_storage_linux - gtk screen_retriever_linux url_launcher_linux window_manager diff --git a/macos/Flutter/GeneratedPluginRegistrant.swift b/macos/Flutter/GeneratedPluginRegistrant.swift index 1058d345..6abf80cb 100644 --- a/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/macos/Flutter/GeneratedPluginRegistrant.swift @@ -5,7 +5,6 @@ import FlutterMacOS import Foundation -import app_links import dynamic_color import file_picker import flutter_secure_storage_macos @@ -20,7 +19,6 @@ import wakelock_plus import window_manager func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { - AppLinksMacosPlugin.register(with: registry.registrar(forPlugin: "AppLinksMacosPlugin")) DynamicColorPlugin.register(with: registry.registrar(forPlugin: "DynamicColorPlugin")) FilePickerPlugin.register(with: registry.registrar(forPlugin: "FilePickerPlugin")) FlutterSecureStoragePlugin.register(with: registry.registrar(forPlugin: "FlutterSecureStoragePlugin")) diff --git a/packages/fl_lib b/packages/fl_lib index bbadd10e..84c82284 160000 --- a/packages/fl_lib +++ b/packages/fl_lib @@ -1 +1 @@ -Subproject commit bbadd10e1250bd89ba753136726f7da25854618a +Subproject commit 84c82284496d545e4df84bacc62e84c1f74c4db2 diff --git a/pubspec.lock b/pubspec.lock index 8cecceb7..8461eedd 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -5,34 +5,26 @@ packages: dependency: transitive description: name: _fe_analyzer_shared - sha256: c209688d9f5a5f26b2fb47a188131a6fb9e876ae9e47af3737c0b4f58a93470d + sha256: "5b7468c326d2f8a4f630056404ca0d291ade42918f4a3c6233618e724f39da8e" url: "https://pub.flutter-io.cn" source: hosted - version: "91.0.0" + version: "92.0.0" analyzer: dependency: "direct dev" description: name: analyzer - sha256: a40a0cee526a7e1f387c6847bd8a5ccbf510a75952ef8a28338e989558072cb0 + sha256: "70e4b1ef8003c64793a9e268a551a82869a8a96f39deb73dea28084b0e8bf75e" url: "https://pub.flutter-io.cn" source: hosted - version: "8.4.0" + version: "9.0.0" analyzer_buffer: dependency: transitive description: name: analyzer_buffer - sha256: aba2f75e63b3135fd1efaa8b6abefe1aa6e41b6bd9806221620fa48f98156033 + sha256: ff4bd291778c7417fe53fe24ee0d0a1f1ffe281a2d4ea887e7094f16e36eace7 url: "https://pub.flutter-io.cn" source: hosted - version: "0.1.11" - analyzer_plugin: - dependency: transitive - description: - name: analyzer_plugin - sha256: "08cfefa90b4f4dd3b447bda831cecf644029f9f8e22820f6ee310213ebe2dd53" - url: "https://pub.flutter-io.cn" - source: hosted - version: "0.13.10" + version: "0.3.0" animations: dependency: transitive description: @@ -49,38 +41,6 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "2.0.3" - app_links: - dependency: transitive - description: - name: app_links - sha256: "5f88447519add627fe1cbcab4fd1da3d4fed15b9baf29f28b22535c95ecee3e8" - url: "https://pub.flutter-io.cn" - source: hosted - version: "6.4.1" - app_links_linux: - dependency: transitive - description: - name: app_links_linux - sha256: f5f7173a78609f3dfd4c2ff2c95bd559ab43c80a87dc6a095921d96c05688c81 - url: "https://pub.flutter-io.cn" - source: hosted - version: "1.0.3" - app_links_platform_interface: - dependency: transitive - description: - name: app_links_platform_interface - sha256: "05f5379577c513b534a29ddea68176a4d4802c46180ee8e2e966257158772a3f" - url: "https://pub.flutter-io.cn" - source: hosted - version: "2.0.2" - app_links_web: - dependency: transitive - description: - name: app_links_web - sha256: af060ed76183f9e2b87510a9480e56a5352b6c249778d07bd2c95fc35632a555 - url: "https://pub.flutter-io.cn" - source: hosted - version: "1.0.4" archive: dependency: transitive description: @@ -337,22 +297,6 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "1.0.2" - custom_lint_core: - dependency: transitive - description: - name: custom_lint_core - sha256: "85b339346154d5646952d44d682965dfe9e12cae5febd706f0db3aa5010d6423" - url: "https://pub.flutter-io.cn" - source: hosted - version: "0.8.1" - custom_lint_visitor: - dependency: transitive - description: - name: custom_lint_visitor - sha256: "91f2a81e9f0abb4b9f3bb529f78b6227ce6050300d1ae5b1e2c69c66c7a566d8" - url: "https://pub.flutter-io.cn" - source: hosted - version: "1.0.0+8.4.0" dart_style: dependency: transitive description: @@ -580,10 +524,10 @@ packages: dependency: "direct main" description: name: flutter_riverpod - sha256: "9e2d6907f12cc7d23a846847615941bddee8709bf2bfd274acdf5e80bcf22fde" + sha256: "4e166be88e1dbbaa34a280bdb744aeae73b7ef25fdf8db7a3bb776760a3648e2" url: "https://pub.flutter-io.cn" source: hosted - version: "3.0.3" + version: "3.3.1" flutter_secure_storage: dependency: transitive description: @@ -662,10 +606,10 @@ packages: dependency: "direct dev" description: name: freezed - sha256: "13065f10e135263a4f5a4391b79a8efc5fb8106f8dd555a9e49b750b45393d77" + sha256: f23ea33b3863f119b58ed1b586e881a46bd28715ddcc4dbc33104524e3434131 url: "https://pub.flutter-io.cn" source: hosted - version: "3.2.3" + version: "3.2.5" freezed_annotation: dependency: "direct main" description: @@ -706,14 +650,6 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "2.3.2" - gtk: - dependency: transitive - description: - name: gtk - sha256: e8ce9ca4b1df106e4d72dad201d345ea1a036cc12c360f1a7d5a758f78ffa42c - url: "https://pub.flutter-io.cn" - source: hosted - version: "2.1.0" highlight: dependency: "direct main" description: @@ -742,10 +678,10 @@ packages: dependency: "direct dev" description: name: hive_ce_generator - sha256: b19ac263cb37529513508ba47352c41e6de72ba879952898d9c18c9c8a955921 + sha256: fd629eefef44f3efb92dec5c422ab4c395153def0e651ed0f9bb3c8a4d4f783b url: "https://pub.flutter-io.cn" source: hosted - version: "1.10.0" + version: "1.11.0" hooks: dependency: transitive description: @@ -878,10 +814,10 @@ packages: dependency: "direct dev" description: name: json_serializable - sha256: c5b2ee75210a0f263c6c7b9eeea80553dbae96ea1bf57f02484e806a3ffdffa3 + sha256: "5b89c1e32ae3840bb20a1b3434e3a590173ad3cb605896fb0f60487ce2f8104e" url: "https://pub.flutter-io.cn" source: hosted - version: "6.11.2" + version: "6.11.4" leak_tracker: dependency: transitive description: @@ -1301,34 +1237,34 @@ packages: dependency: transitive description: name: riverpod - sha256: c406de02bff19d920b832bddfb8283548bfa05ce41c59afba57ce643e116aa59 + sha256: "8c22216be8ad3ef2b44af3a329693558c98eca7b8bd4ef495c92db0bba279f83" url: "https://pub.flutter-io.cn" source: hosted - version: "3.0.3" + version: "3.2.1" riverpod_analyzer_utils: dependency: transitive description: name: riverpod_analyzer_utils - sha256: a0f68adb078b790faa3c655110a017f9a7b7b079a57bbd40f540e80dce5fcd29 + sha256: e55bc08c084a424e1bbdc303fe8ea75daafe4269b68fd0e0f6f1678413715b66 url: "https://pub.flutter-io.cn" source: hosted - version: "1.0.0-dev.7" + version: "1.0.0-dev.9" riverpod_annotation: dependency: "direct main" description: name: riverpod_annotation - sha256: "7230014155777fc31ba3351bc2cb5a3b5717b11bfafe52b1553cb47d385f8897" + sha256: "16471a1260b94e939394d78f1c63a9350936ac4a68c9fbdab40be47268c0b04f" url: "https://pub.flutter-io.cn" source: hosted - version: "3.0.3" + version: "4.0.2" riverpod_generator: dependency: "direct dev" description: name: riverpod_generator - sha256: "49894543a42cf7a9954fc4e7366b6d3cb2e6ec0fa07775f660afcdd92d097702" + sha256: "6f9220534d7a353b53c875ea191a84d28cb4e52ac420a66a1bd7318329d977b0" url: "https://pub.flutter-io.cn" source: hosted - version: "3.0.3" + version: "4.0.3" screen_retriever: dependency: transitive description: @@ -1498,10 +1434,10 @@ packages: dependency: transitive description: name: source_helper - sha256: "6a3c6cc82073a8797f8c4dc4572146114a39652851c157db37e964d9c7038723" + sha256: "1d3b229b2934034fb2e691fbb3d53e0f75a4af7b1407f88425ed8f209bcb1b8f" url: "https://pub.flutter-io.cn" source: hosted - version: "1.3.8" + version: "1.3.11" source_map_stack_trace: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index bc71ea34..1a1493a6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -20,7 +20,7 @@ dependencies: extended_image: ^10.0.0 file_picker: ^10.1.9 flutter_gbk2utf8: ^1.0.1 - flutter_riverpod: ^3.0.1 + flutter_riverpod: ^3.3.1 flutter_highlight: ^0.7.0 flutter_displaymode: ^0.7.0 fl_chart: ^1.0.0 @@ -32,7 +32,7 @@ dependencies: json_annotation: ^4.9.0 re_editor: ^0.8.0 responsive_framework: ^1.5.1 - riverpod_annotation: ^3.0.1 + riverpod_annotation: ^4.0.2 shared_preferences: ^2.1.1 wakelock_plus: ^1.2.4 wake_on_lan: ^4.1.1+3 @@ -57,14 +57,14 @@ dependencies: path: packages/fl_lib dev_dependencies: - analyzer: ^8.1.1 + analyzer: ^9.0.0 flutter_native_splash: ^2.1.6 hive_ce_generator: ^1.9.2 build_runner: ^2.4.15 flutter_lints: ^6.0.0 json_serializable: ^6.8.0 freezed: ^3.0.0 - riverpod_generator: ^3.0.1 + riverpod_generator: ^4.0.3 test: ^1.24.0 flutter_test: sdk: flutter diff --git a/windows/flutter/generated_plugin_registrant.cc b/windows/flutter/generated_plugin_registrant.cc index a271dfc9..61c38279 100644 --- a/windows/flutter/generated_plugin_registrant.cc +++ b/windows/flutter/generated_plugin_registrant.cc @@ -6,7 +6,6 @@ #include "generated_plugin_registrant.h" -#include #include #include #include @@ -16,8 +15,6 @@ #include void RegisterPlugins(flutter::PluginRegistry* registry) { - AppLinksPluginCApiRegisterWithRegistrar( - registry->GetRegistrarForPlugin("AppLinksPluginCApi")); DynamicColorPluginCApiRegisterWithRegistrar( registry->GetRegistrarForPlugin("DynamicColorPluginCApi")); FlutterSecureStorageWindowsPluginRegisterWithRegistrar( diff --git a/windows/flutter/generated_plugins.cmake b/windows/flutter/generated_plugins.cmake index 1fa81ed8..421b2378 100644 --- a/windows/flutter/generated_plugins.cmake +++ b/windows/flutter/generated_plugins.cmake @@ -3,7 +3,6 @@ # list(APPEND FLUTTER_PLUGIN_LIST - app_links dynamic_color flutter_secure_storage_windows local_auth_windows