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
This commit is contained in:
GT610
2026-03-23 23:17:35 +08:00
committed by GitHub
parent d6e17ff58c
commit c4d528733d
19 changed files with 69 additions and 151 deletions

View File

@@ -10,11 +10,11 @@ part of 'container.dart';
// ignore_for_file: type=lint, type=warning // ignore_for_file: type=lint, type=warning
@ProviderFor(ContainerNotifier) @ProviderFor(ContainerNotifier)
const containerProvider = ContainerNotifierFamily._(); final containerProvider = ContainerNotifierFamily._();
final class ContainerNotifierProvider final class ContainerNotifierProvider
extends $NotifierProvider<ContainerNotifier, ContainerState> { extends $NotifierProvider<ContainerNotifier, ContainerState> {
const ContainerNotifierProvider._({ ContainerNotifierProvider._({
required ContainerNotifierFamily super.from, required ContainerNotifierFamily super.from,
required (SSHClient?, String, String, BuildContext) super.argument, required (SSHClient?, String, String, BuildContext) super.argument,
}) : super( }) : super(
@@ -69,7 +69,7 @@ final class ContainerNotifierFamily extends $Family
ContainerState, ContainerState,
(SSHClient?, String, String, BuildContext) (SSHClient?, String, String, BuildContext)
> { > {
const ContainerNotifierFamily._() ContainerNotifierFamily._()
: super( : super(
retry: null, retry: null,
name: r'containerProvider', name: r'containerProvider',
@@ -108,7 +108,6 @@ abstract class _$ContainerNotifier extends $Notifier<ContainerState> {
@$mustCallSuper @$mustCallSuper
@override @override
void runBuild() { void runBuild() {
final created = build(_$args.$1, _$args.$2, _$args.$3, _$args.$4);
final ref = this.ref as $Ref<ContainerState, ContainerState>; final ref = this.ref as $Ref<ContainerState, ContainerState>;
final element = final element =
ref.element ref.element
@@ -118,6 +117,9 @@ abstract class _$ContainerNotifier extends $Notifier<ContainerState> {
Object?, Object?,
Object? Object?
>; >;
element.handleValue(ref, created); element.handleCreate(
ref,
() => build(_$args.$1, _$args.$2, _$args.$3, _$args.$4),
);
} }
} }

View File

@@ -10,11 +10,11 @@ part of 'port_forward_provider.dart';
// ignore_for_file: type=lint, type=warning // ignore_for_file: type=lint, type=warning
@ProviderFor(PortForwardNotifier) @ProviderFor(PortForwardNotifier)
const portForwardProvider = PortForwardNotifierFamily._(); final portForwardProvider = PortForwardNotifierFamily._();
final class PortForwardNotifierProvider final class PortForwardNotifierProvider
extends $NotifierProvider<PortForwardNotifier, PortForwardState> { extends $NotifierProvider<PortForwardNotifier, PortForwardState> {
const PortForwardNotifierProvider._({ PortForwardNotifierProvider._({
required PortForwardNotifierFamily super.from, required PortForwardNotifierFamily super.from,
required String super.argument, required String super.argument,
}) : super( }) : super(
@@ -59,7 +59,7 @@ final class PortForwardNotifierProvider
} }
String _$portForwardNotifierHash() => String _$portForwardNotifierHash() =>
r'e9a93e4e4ee526d334eaaba0e3e0093de7a337fd'; r'c56425252253c276b6202f478d3475e8fe0c1c64';
final class PortForwardNotifierFamily extends $Family final class PortForwardNotifierFamily extends $Family
with with
@@ -70,7 +70,7 @@ final class PortForwardNotifierFamily extends $Family
PortForwardState, PortForwardState,
String String
> { > {
const PortForwardNotifierFamily._() PortForwardNotifierFamily._()
: super( : super(
retry: null, retry: null,
name: r'portForwardProvider', name: r'portForwardProvider',
@@ -94,7 +94,6 @@ abstract class _$PortForwardNotifier extends $Notifier<PortForwardState> {
@$mustCallSuper @$mustCallSuper
@override @override
void runBuild() { void runBuild() {
final created = build(_$args);
final ref = this.ref as $Ref<PortForwardState, PortForwardState>; final ref = this.ref as $Ref<PortForwardState, PortForwardState>;
final element = final element =
ref.element ref.element
@@ -104,6 +103,6 @@ abstract class _$PortForwardNotifier extends $Notifier<PortForwardState> {
Object?, Object?,
Object? Object?
>; >;
element.handleValue(ref, created); element.handleCreate(ref, () => build(_$args));
} }
} }

View File

@@ -10,11 +10,11 @@ part of 'private_key.dart';
// ignore_for_file: type=lint, type=warning // ignore_for_file: type=lint, type=warning
@ProviderFor(PrivateKeyNotifier) @ProviderFor(PrivateKeyNotifier)
const privateKeyProvider = PrivateKeyNotifierProvider._(); final privateKeyProvider = PrivateKeyNotifierProvider._();
final class PrivateKeyNotifierProvider final class PrivateKeyNotifierProvider
extends $NotifierProvider<PrivateKeyNotifier, PrivateKeyState> { extends $NotifierProvider<PrivateKeyNotifier, PrivateKeyState> {
const PrivateKeyNotifierProvider._() PrivateKeyNotifierProvider._()
: super( : super(
from: null, from: null,
argument: null, argument: null,
@@ -49,7 +49,6 @@ abstract class _$PrivateKeyNotifier extends $Notifier<PrivateKeyState> {
@$mustCallSuper @$mustCallSuper
@override @override
void runBuild() { void runBuild() {
final created = build();
final ref = this.ref as $Ref<PrivateKeyState, PrivateKeyState>; final ref = this.ref as $Ref<PrivateKeyState, PrivateKeyState>;
final element = final element =
ref.element ref.element
@@ -59,6 +58,6 @@ abstract class _$PrivateKeyNotifier extends $Notifier<PrivateKeyState> {
Object?, Object?,
Object? Object?
>; >;
element.handleValue(ref, created); element.handleCreate(ref, build);
} }
} }

View File

@@ -10,11 +10,11 @@ part of 'pve.dart';
// ignore_for_file: type=lint, type=warning // ignore_for_file: type=lint, type=warning
@ProviderFor(PveNotifier) @ProviderFor(PveNotifier)
const pveProvider = PveNotifierFamily._(); final pveProvider = PveNotifierFamily._();
final class PveNotifierProvider final class PveNotifierProvider
extends $NotifierProvider<PveNotifier, PveState> { extends $NotifierProvider<PveNotifier, PveState> {
const PveNotifierProvider._({ PveNotifierProvider._({
required PveNotifierFamily super.from, required PveNotifierFamily super.from,
required Spi super.argument, required Spi super.argument,
}) : super( }) : super(
@@ -62,7 +62,7 @@ String _$pveNotifierHash() => r'1f80a27896013a275e5222f19e5ee3c3a68e2f84';
final class PveNotifierFamily extends $Family final class PveNotifierFamily extends $Family
with $ClassFamilyOverride<PveNotifier, PveState, PveState, PveState, Spi> { with $ClassFamilyOverride<PveNotifier, PveState, PveState, PveState, Spi> {
const PveNotifierFamily._() PveNotifierFamily._()
: super( : super(
retry: null, retry: null,
name: r'pveProvider', name: r'pveProvider',
@@ -86,7 +86,6 @@ abstract class _$PveNotifier extends $Notifier<PveState> {
@$mustCallSuper @$mustCallSuper
@override @override
void runBuild() { void runBuild() {
final created = build(_$args);
final ref = this.ref as $Ref<PveState, PveState>; final ref = this.ref as $Ref<PveState, PveState>;
final element = final element =
ref.element ref.element
@@ -96,6 +95,6 @@ abstract class _$PveNotifier extends $Notifier<PveState> {
Object?, Object?,
Object? Object?
>; >;
element.handleValue(ref, created); element.handleCreate(ref, () => build(_$args));
} }
} }

View File

@@ -10,11 +10,11 @@ part of 'all.dart';
// ignore_for_file: type=lint, type=warning // ignore_for_file: type=lint, type=warning
@ProviderFor(ServersNotifier) @ProviderFor(ServersNotifier)
const serversProvider = ServersNotifierProvider._(); final serversProvider = ServersNotifierProvider._();
final class ServersNotifierProvider final class ServersNotifierProvider
extends $NotifierProvider<ServersNotifier, ServersState> { extends $NotifierProvider<ServersNotifier, ServersState> {
const ServersNotifierProvider._() ServersNotifierProvider._()
: super( : super(
from: null, from: null,
argument: null, argument: null,
@@ -48,7 +48,6 @@ abstract class _$ServersNotifier extends $Notifier<ServersState> {
@$mustCallSuper @$mustCallSuper
@override @override
void runBuild() { void runBuild() {
final created = build();
final ref = this.ref as $Ref<ServersState, ServersState>; final ref = this.ref as $Ref<ServersState, ServersState>;
final element = final element =
ref.element ref.element
@@ -58,6 +57,6 @@ abstract class _$ServersNotifier extends $Notifier<ServersState> {
Object?, Object?,
Object? Object?
>; >;
element.handleValue(ref, created); element.handleCreate(ref, build);
} }
} }

View File

@@ -10,11 +10,11 @@ part of 'single.dart';
// ignore_for_file: type=lint, type=warning // ignore_for_file: type=lint, type=warning
@ProviderFor(ServerNotifier) @ProviderFor(ServerNotifier)
const serverProvider = ServerNotifierFamily._(); final serverProvider = ServerNotifierFamily._();
final class ServerNotifierProvider final class ServerNotifierProvider
extends $NotifierProvider<ServerNotifier, ServerState> { extends $NotifierProvider<ServerNotifier, ServerState> {
const ServerNotifierProvider._({ ServerNotifierProvider._({
required ServerNotifierFamily super.from, required ServerNotifierFamily super.from,
required String super.argument, required String super.argument,
}) : super( }) : super(
@@ -69,7 +69,7 @@ final class ServerNotifierFamily extends $Family
ServerState, ServerState,
String String
> { > {
const ServerNotifierFamily._() ServerNotifierFamily._()
: super( : super(
retry: null, retry: null,
name: r'serverProvider', name: r'serverProvider',
@@ -93,7 +93,6 @@ abstract class _$ServerNotifier extends $Notifier<ServerState> {
@$mustCallSuper @$mustCallSuper
@override @override
void runBuild() { void runBuild() {
final created = build(_$args);
final ref = this.ref as $Ref<ServerState, ServerState>; final ref = this.ref as $Ref<ServerState, ServerState>;
final element = final element =
ref.element ref.element
@@ -103,6 +102,6 @@ abstract class _$ServerNotifier extends $Notifier<ServerState> {
Object?, Object?,
Object? Object?
>; >;
element.handleValue(ref, created); element.handleCreate(ref, () => build(_$args));
} }
} }

View File

@@ -10,11 +10,11 @@ part of 'sftp.dart';
// ignore_for_file: type=lint, type=warning // ignore_for_file: type=lint, type=warning
@ProviderFor(SftpNotifier) @ProviderFor(SftpNotifier)
const sftpProvider = SftpNotifierProvider._(); final sftpProvider = SftpNotifierProvider._();
final class SftpNotifierProvider final class SftpNotifierProvider
extends $NotifierProvider<SftpNotifier, SftpState> { extends $NotifierProvider<SftpNotifier, SftpState> {
const SftpNotifierProvider._() SftpNotifierProvider._()
: super( : super(
from: null, from: null,
argument: null, argument: null,
@@ -48,7 +48,6 @@ abstract class _$SftpNotifier extends $Notifier<SftpState> {
@$mustCallSuper @$mustCallSuper
@override @override
void runBuild() { void runBuild() {
final created = build();
final ref = this.ref as $Ref<SftpState, SftpState>; final ref = this.ref as $Ref<SftpState, SftpState>;
final element = final element =
ref.element ref.element
@@ -58,6 +57,6 @@ abstract class _$SftpNotifier extends $Notifier<SftpState> {
Object?, Object?,
Object? Object?
>; >;
element.handleValue(ref, created); element.handleCreate(ref, build);
} }
} }

View File

@@ -10,11 +10,11 @@ part of 'snippet.dart';
// ignore_for_file: type=lint, type=warning // ignore_for_file: type=lint, type=warning
@ProviderFor(SnippetNotifier) @ProviderFor(SnippetNotifier)
const snippetProvider = SnippetNotifierProvider._(); final snippetProvider = SnippetNotifierProvider._();
final class SnippetNotifierProvider final class SnippetNotifierProvider
extends $NotifierProvider<SnippetNotifier, SnippetState> { extends $NotifierProvider<SnippetNotifier, SnippetState> {
const SnippetNotifierProvider._() SnippetNotifierProvider._()
: super( : super(
from: null, from: null,
argument: null, argument: null,
@@ -48,7 +48,6 @@ abstract class _$SnippetNotifier extends $Notifier<SnippetState> {
@$mustCallSuper @$mustCallSuper
@override @override
void runBuild() { void runBuild() {
final created = build();
final ref = this.ref as $Ref<SnippetState, SnippetState>; final ref = this.ref as $Ref<SnippetState, SnippetState>;
final element = final element =
ref.element ref.element
@@ -58,6 +57,6 @@ abstract class _$SnippetNotifier extends $Notifier<SnippetState> {
Object?, Object?,
Object? Object?
>; >;
element.handleValue(ref, created); element.handleCreate(ref, build);
} }
} }

View File

@@ -10,11 +10,11 @@ part of 'systemd.dart';
// ignore_for_file: type=lint, type=warning // ignore_for_file: type=lint, type=warning
@ProviderFor(SystemdNotifier) @ProviderFor(SystemdNotifier)
const systemdProvider = SystemdNotifierFamily._(); final systemdProvider = SystemdNotifierFamily._();
final class SystemdNotifierProvider final class SystemdNotifierProvider
extends $NotifierProvider<SystemdNotifier, SystemdState> { extends $NotifierProvider<SystemdNotifier, SystemdState> {
const SystemdNotifierProvider._({ SystemdNotifierProvider._({
required SystemdNotifierFamily super.from, required SystemdNotifierFamily super.from,
required Spi super.argument, required Spi super.argument,
}) : super( }) : super(
@@ -69,7 +69,7 @@ final class SystemdNotifierFamily extends $Family
SystemdState, SystemdState,
Spi Spi
> { > {
const SystemdNotifierFamily._() SystemdNotifierFamily._()
: super( : super(
retry: null, retry: null,
name: r'systemdProvider', name: r'systemdProvider',
@@ -93,7 +93,6 @@ abstract class _$SystemdNotifier extends $Notifier<SystemdState> {
@$mustCallSuper @$mustCallSuper
@override @override
void runBuild() { void runBuild() {
final created = build(_$args);
final ref = this.ref as $Ref<SystemdState, SystemdState>; final ref = this.ref as $Ref<SystemdState, SystemdState>;
final element = final element =
ref.element ref.element
@@ -103,6 +102,6 @@ abstract class _$SystemdNotifier extends $Notifier<SystemdState> {
Object?, Object?,
Object? Object?
>; >;
element.handleValue(ref, created); element.handleCreate(ref, () => build(_$args));
} }
} }

View File

@@ -10,11 +10,11 @@ part of 'virtual_keyboard.dart';
// ignore_for_file: type=lint, type=warning // ignore_for_file: type=lint, type=warning
@ProviderFor(VirtKeyboard) @ProviderFor(VirtKeyboard)
const virtKeyboardProvider = VirtKeyboardProvider._(); final virtKeyboardProvider = VirtKeyboardProvider._();
final class VirtKeyboardProvider final class VirtKeyboardProvider
extends $NotifierProvider<VirtKeyboard, VirtKeyState> { extends $NotifierProvider<VirtKeyboard, VirtKeyState> {
const VirtKeyboardProvider._() VirtKeyboardProvider._()
: super( : super(
from: null, from: null,
argument: null, argument: null,
@@ -48,7 +48,6 @@ abstract class _$VirtKeyboard extends $Notifier<VirtKeyState> {
@$mustCallSuper @$mustCallSuper
@override @override
void runBuild() { void runBuild() {
final created = build();
final ref = this.ref as $Ref<VirtKeyState, VirtKeyState>; final ref = this.ref as $Ref<VirtKeyState, VirtKeyState>;
final element = final element =
ref.element ref.element
@@ -58,6 +57,6 @@ abstract class _$VirtKeyboard extends $Notifier<VirtKeyState> {
Object?, Object?,
Object? Object?
>; >;
element.handleValue(ref, created); element.handleCreate(ref, build);
} }
} }

View File

@@ -2,7 +2,7 @@
// Do not modify // Do not modify
// Check in to version control // 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/app/tab.dart';
import 'package:server_box/data/model/server/connection_stat.dart'; import 'package:server_box/data/model/server/connection_stat.dart';
import 'package:server_box/hive/hive_adapters.dart'; import 'package:server_box/hive/hive_adapters.dart';

View File

@@ -8,7 +8,6 @@
#include <dynamic_color/dynamic_color_plugin.h> #include <dynamic_color/dynamic_color_plugin.h>
#include <flutter_secure_storage_linux/flutter_secure_storage_linux_plugin.h> #include <flutter_secure_storage_linux/flutter_secure_storage_linux_plugin.h>
#include <gtk/gtk_plugin.h>
#include <screen_retriever_linux/screen_retriever_linux_plugin.h> #include <screen_retriever_linux/screen_retriever_linux_plugin.h>
#include <url_launcher_linux/url_launcher_plugin.h> #include <url_launcher_linux/url_launcher_plugin.h>
#include <window_manager/window_manager_plugin.h> #include <window_manager/window_manager_plugin.h>
@@ -20,9 +19,6 @@ void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) flutter_secure_storage_linux_registrar = g_autoptr(FlPluginRegistrar) flutter_secure_storage_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterSecureStorageLinuxPlugin"); fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterSecureStorageLinuxPlugin");
flutter_secure_storage_linux_plugin_register_with_registrar(flutter_secure_storage_linux_registrar); 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 = g_autoptr(FlPluginRegistrar) screen_retriever_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "ScreenRetrieverLinuxPlugin"); fl_plugin_registry_get_registrar_for_plugin(registry, "ScreenRetrieverLinuxPlugin");
screen_retriever_linux_plugin_register_with_registrar(screen_retriever_linux_registrar); screen_retriever_linux_plugin_register_with_registrar(screen_retriever_linux_registrar);

View File

@@ -5,7 +5,6 @@
list(APPEND FLUTTER_PLUGIN_LIST list(APPEND FLUTTER_PLUGIN_LIST
dynamic_color dynamic_color
flutter_secure_storage_linux flutter_secure_storage_linux
gtk
screen_retriever_linux screen_retriever_linux
url_launcher_linux url_launcher_linux
window_manager window_manager

View File

@@ -5,7 +5,6 @@
import FlutterMacOS import FlutterMacOS
import Foundation import Foundation
import app_links
import dynamic_color import dynamic_color
import file_picker import file_picker
import flutter_secure_storage_macos import flutter_secure_storage_macos
@@ -20,7 +19,6 @@ import wakelock_plus
import window_manager import window_manager
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
AppLinksMacosPlugin.register(with: registry.registrar(forPlugin: "AppLinksMacosPlugin"))
DynamicColorPlugin.register(with: registry.registrar(forPlugin: "DynamicColorPlugin")) DynamicColorPlugin.register(with: registry.registrar(forPlugin: "DynamicColorPlugin"))
FilePickerPlugin.register(with: registry.registrar(forPlugin: "FilePickerPlugin")) FilePickerPlugin.register(with: registry.registrar(forPlugin: "FilePickerPlugin"))
FlutterSecureStoragePlugin.register(with: registry.registrar(forPlugin: "FlutterSecureStoragePlugin")) FlutterSecureStoragePlugin.register(with: registry.registrar(forPlugin: "FlutterSecureStoragePlugin"))

View File

@@ -5,34 +5,26 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: _fe_analyzer_shared name: _fe_analyzer_shared
sha256: c209688d9f5a5f26b2fb47a188131a6fb9e876ae9e47af3737c0b4f58a93470d sha256: "5b7468c326d2f8a4f630056404ca0d291ade42918f4a3c6233618e724f39da8e"
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "91.0.0" version: "92.0.0"
analyzer: analyzer:
dependency: "direct dev" dependency: "direct dev"
description: description:
name: analyzer name: analyzer
sha256: a40a0cee526a7e1f387c6847bd8a5ccbf510a75952ef8a28338e989558072cb0 sha256: "70e4b1ef8003c64793a9e268a551a82869a8a96f39deb73dea28084b0e8bf75e"
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "8.4.0" version: "9.0.0"
analyzer_buffer: analyzer_buffer:
dependency: transitive dependency: transitive
description: description:
name: analyzer_buffer name: analyzer_buffer
sha256: aba2f75e63b3135fd1efaa8b6abefe1aa6e41b6bd9806221620fa48f98156033 sha256: ff4bd291778c7417fe53fe24ee0d0a1f1ffe281a2d4ea887e7094f16e36eace7
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "0.1.11" version: "0.3.0"
analyzer_plugin:
dependency: transitive
description:
name: analyzer_plugin
sha256: "08cfefa90b4f4dd3b447bda831cecf644029f9f8e22820f6ee310213ebe2dd53"
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.13.10"
animations: animations:
dependency: transitive dependency: transitive
description: description:
@@ -49,38 +41,6 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "2.0.3" 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: archive:
dependency: transitive dependency: transitive
description: description:
@@ -337,22 +297,6 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.0.2" 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: dart_style:
dependency: transitive dependency: transitive
description: description:
@@ -580,10 +524,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: flutter_riverpod name: flutter_riverpod
sha256: "9e2d6907f12cc7d23a846847615941bddee8709bf2bfd274acdf5e80bcf22fde" sha256: "4e166be88e1dbbaa34a280bdb744aeae73b7ef25fdf8db7a3bb776760a3648e2"
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "3.0.3" version: "3.3.1"
flutter_secure_storage: flutter_secure_storage:
dependency: transitive dependency: transitive
description: description:
@@ -662,10 +606,10 @@ packages:
dependency: "direct dev" dependency: "direct dev"
description: description:
name: freezed name: freezed
sha256: "13065f10e135263a4f5a4391b79a8efc5fb8106f8dd555a9e49b750b45393d77" sha256: f23ea33b3863f119b58ed1b586e881a46bd28715ddcc4dbc33104524e3434131
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "3.2.3" version: "3.2.5"
freezed_annotation: freezed_annotation:
dependency: "direct main" dependency: "direct main"
description: description:
@@ -706,14 +650,6 @@ packages:
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "2.3.2" 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: highlight:
dependency: "direct main" dependency: "direct main"
description: description:
@@ -742,10 +678,10 @@ packages:
dependency: "direct dev" dependency: "direct dev"
description: description:
name: hive_ce_generator name: hive_ce_generator
sha256: b19ac263cb37529513508ba47352c41e6de72ba879952898d9c18c9c8a955921 sha256: fd629eefef44f3efb92dec5c422ab4c395153def0e651ed0f9bb3c8a4d4f783b
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.10.0" version: "1.11.0"
hooks: hooks:
dependency: transitive dependency: transitive
description: description:
@@ -878,10 +814,10 @@ packages:
dependency: "direct dev" dependency: "direct dev"
description: description:
name: json_serializable name: json_serializable
sha256: c5b2ee75210a0f263c6c7b9eeea80553dbae96ea1bf57f02484e806a3ffdffa3 sha256: "5b89c1e32ae3840bb20a1b3434e3a590173ad3cb605896fb0f60487ce2f8104e"
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "6.11.2" version: "6.11.4"
leak_tracker: leak_tracker:
dependency: transitive dependency: transitive
description: description:
@@ -1301,34 +1237,34 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: riverpod name: riverpod
sha256: c406de02bff19d920b832bddfb8283548bfa05ce41c59afba57ce643e116aa59 sha256: "8c22216be8ad3ef2b44af3a329693558c98eca7b8bd4ef495c92db0bba279f83"
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "3.0.3" version: "3.2.1"
riverpod_analyzer_utils: riverpod_analyzer_utils:
dependency: transitive dependency: transitive
description: description:
name: riverpod_analyzer_utils name: riverpod_analyzer_utils
sha256: a0f68adb078b790faa3c655110a017f9a7b7b079a57bbd40f540e80dce5fcd29 sha256: e55bc08c084a424e1bbdc303fe8ea75daafe4269b68fd0e0f6f1678413715b66
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.0.0-dev.7" version: "1.0.0-dev.9"
riverpod_annotation: riverpod_annotation:
dependency: "direct main" dependency: "direct main"
description: description:
name: riverpod_annotation name: riverpod_annotation
sha256: "7230014155777fc31ba3351bc2cb5a3b5717b11bfafe52b1553cb47d385f8897" sha256: "16471a1260b94e939394d78f1c63a9350936ac4a68c9fbdab40be47268c0b04f"
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "3.0.3" version: "4.0.2"
riverpod_generator: riverpod_generator:
dependency: "direct dev" dependency: "direct dev"
description: description:
name: riverpod_generator name: riverpod_generator
sha256: "49894543a42cf7a9954fc4e7366b6d3cb2e6ec0fa07775f660afcdd92d097702" sha256: "6f9220534d7a353b53c875ea191a84d28cb4e52ac420a66a1bd7318329d977b0"
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "3.0.3" version: "4.0.3"
screen_retriever: screen_retriever:
dependency: transitive dependency: transitive
description: description:
@@ -1498,10 +1434,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: source_helper name: source_helper
sha256: "6a3c6cc82073a8797f8c4dc4572146114a39652851c157db37e964d9c7038723" sha256: "1d3b229b2934034fb2e691fbb3d53e0f75a4af7b1407f88425ed8f209bcb1b8f"
url: "https://pub.flutter-io.cn" url: "https://pub.flutter-io.cn"
source: hosted source: hosted
version: "1.3.8" version: "1.3.11"
source_map_stack_trace: source_map_stack_trace:
dependency: transitive dependency: transitive
description: description:

View File

@@ -20,7 +20,7 @@ dependencies:
extended_image: ^10.0.0 extended_image: ^10.0.0
file_picker: ^10.1.9 file_picker: ^10.1.9
flutter_gbk2utf8: ^1.0.1 flutter_gbk2utf8: ^1.0.1
flutter_riverpod: ^3.0.1 flutter_riverpod: ^3.3.1
flutter_highlight: ^0.7.0 flutter_highlight: ^0.7.0
flutter_displaymode: ^0.7.0 flutter_displaymode: ^0.7.0
fl_chart: ^1.0.0 fl_chart: ^1.0.0
@@ -32,7 +32,7 @@ dependencies:
json_annotation: ^4.9.0 json_annotation: ^4.9.0
re_editor: ^0.8.0 re_editor: ^0.8.0
responsive_framework: ^1.5.1 responsive_framework: ^1.5.1
riverpod_annotation: ^3.0.1 riverpod_annotation: ^4.0.2
shared_preferences: ^2.1.1 shared_preferences: ^2.1.1
wakelock_plus: ^1.2.4 wakelock_plus: ^1.2.4
wake_on_lan: ^4.1.1+3 wake_on_lan: ^4.1.1+3
@@ -57,14 +57,14 @@ dependencies:
path: packages/fl_lib path: packages/fl_lib
dev_dependencies: dev_dependencies:
analyzer: ^8.1.1 analyzer: ^9.0.0
flutter_native_splash: ^2.1.6 flutter_native_splash: ^2.1.6
hive_ce_generator: ^1.9.2 hive_ce_generator: ^1.9.2
build_runner: ^2.4.15 build_runner: ^2.4.15
flutter_lints: ^6.0.0 flutter_lints: ^6.0.0
json_serializable: ^6.8.0 json_serializable: ^6.8.0
freezed: ^3.0.0 freezed: ^3.0.0
riverpod_generator: ^3.0.1 riverpod_generator: ^4.0.3
test: ^1.24.0 test: ^1.24.0
flutter_test: flutter_test:
sdk: flutter sdk: flutter

View File

@@ -6,7 +6,6 @@
#include "generated_plugin_registrant.h" #include "generated_plugin_registrant.h"
#include <app_links/app_links_plugin_c_api.h>
#include <dynamic_color/dynamic_color_plugin_c_api.h> #include <dynamic_color/dynamic_color_plugin_c_api.h>
#include <flutter_secure_storage_windows/flutter_secure_storage_windows_plugin.h> #include <flutter_secure_storage_windows/flutter_secure_storage_windows_plugin.h>
#include <local_auth_windows/local_auth_plugin.h> #include <local_auth_windows/local_auth_plugin.h>
@@ -16,8 +15,6 @@
#include <window_manager/window_manager_plugin.h> #include <window_manager/window_manager_plugin.h>
void RegisterPlugins(flutter::PluginRegistry* registry) { void RegisterPlugins(flutter::PluginRegistry* registry) {
AppLinksPluginCApiRegisterWithRegistrar(
registry->GetRegistrarForPlugin("AppLinksPluginCApi"));
DynamicColorPluginCApiRegisterWithRegistrar( DynamicColorPluginCApiRegisterWithRegistrar(
registry->GetRegistrarForPlugin("DynamicColorPluginCApi")); registry->GetRegistrarForPlugin("DynamicColorPluginCApi"));
FlutterSecureStorageWindowsPluginRegisterWithRegistrar( FlutterSecureStorageWindowsPluginRegisterWithRegistrar(

View File

@@ -3,7 +3,6 @@
# #
list(APPEND FLUTTER_PLUGIN_LIST list(APPEND FLUTTER_PLUGIN_LIST
app_links
dynamic_color dynamic_color
flutter_secure_storage_windows flutter_secure_storage_windows
local_auth_windows local_auth_windows