From 8faba7bdf2dc06a5a3e2c1dbd02bf2d8c43f52f6 Mon Sep 17 00:00:00 2001 From: Krille Date: Tue, 16 May 2023 19:21:37 +0200 Subject: [PATCH] chore: Remove macos_ui dependency --- macos/Flutter/GeneratedPluginRegistrant.swift | 4 ---- pubspec.lock | 23 +++---------------- pubspec.yaml | 8 +------ 3 files changed, 4 insertions(+), 31 deletions(-) diff --git a/macos/Flutter/GeneratedPluginRegistrant.swift b/macos/Flutter/GeneratedPluginRegistrant.swift index 879986ff..6637336e 100644 --- a/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/macos/Flutter/GeneratedPluginRegistrant.swift @@ -19,8 +19,6 @@ import flutter_web_auth_2 import flutter_webrtc import geolocator_apple import just_audio -import macos_ui -import macos_window_utils import package_info_plus import path_provider_foundation import record_macos @@ -47,8 +45,6 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { FlutterWebRTCPlugin.register(with: registry.registrar(forPlugin: "FlutterWebRTCPlugin")) GeolocatorPlugin.register(with: registry.registrar(forPlugin: "GeolocatorPlugin")) JustAudioPlugin.register(with: registry.registrar(forPlugin: "JustAudioPlugin")) - MacOSUiPlugin.register(with: registry.registrar(forPlugin: "MacOSUiPlugin")) - MacOSWindowUtilsPlugin.register(with: registry.registrar(forPlugin: "MacOSWindowUtilsPlugin")) FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin")) PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) RecordMacosPlugin.register(with: registry.registrar(forPlugin: "RecordMacosPlugin")) diff --git a/pubspec.lock b/pubspec.lock index e497b93b..05c1fd57 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -13,10 +13,10 @@ packages: dependency: "direct main" description: name: adaptive_dialog - sha256: "5dea5b051a217d127b57587686990131488f964a9d2ea1142401f101e18795df" + sha256: "844143591ca5ca38c0e1fd7c736f3c9457fe69420b90140b5d4ac4673a2ea9e4" url: "https://pub.dev" source: hosted - version: "1.8.2" + version: "1.9.0-no-macos.2" analyzer: dependency: transitive description: @@ -1023,23 +1023,6 @@ packages: url: "https://pub.dev" source: hosted version: "1.0.1" - macos_ui: - dependency: "direct overridden" - description: - path: "." - ref: "5bbc2de46f8c032ca6f8d1b01377316eefe00e54" - resolved-ref: "5bbc2de46f8c032ca6f8d1b01377316eefe00e54" - url: "https://github.com/the-best-is-best/macos_ui.git" - source: git - version: "2.0.0-beta.1" - macos_window_utils: - dependency: transitive - description: - name: macos_window_utils - sha256: "510de576b5432dd9ef9e4c258abcc021c6dfbb17a78a344688848a6784b352b8" - url: "https://pub.dev" - source: hosted - version: "1.1.2" markdown: dependency: transitive description: @@ -2153,4 +2136,4 @@ packages: version: "3.1.1" sdks: dart: ">=3.0.0 <4.0.0" - flutter: ">=3.7.0" + flutter: ">=3.10.0" diff --git a/pubspec.yaml b/pubspec.yaml index 2bee24dd..3a098239 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -7,7 +7,7 @@ environment: sdk: ">=3.0.0 <4.0.0" dependencies: - adaptive_dialog: ^1.8.0+1 + adaptive_dialog: ^1.9.0-no-macos.2 animations: ^2.0.7 badges: ^2.0.3 blurhash_dart: ^1.1.0 @@ -165,12 +165,6 @@ dependency_overrides: git: url: https://github.com/TheOneWithTheBraid/keyboard_shortcuts.git ref: null-safety - # null safety - # https://github.com/macosui/macos_ui/pull/426 - macos_ui: - git: - url: https://github.com/the-best-is-best/macos_ui.git - ref: 5bbc2de46f8c032ca6f8d1b01377316eefe00e54 # https://github.com/Sorunome/matrix_link_text/pull/2 matrix_link_text: git: