chore(dependencies): Remove share_plus, add auto_route and flutter_adaptive_scaffold

pull/203/head
Inex Code 2023-02-07 11:35:00 +03:00 committed by Gitea
parent fb8fdad0c5
commit 768d5ff226
5 changed files with 36 additions and 31 deletions

View File

@ -11,7 +11,6 @@ import dynamic_color
import flutter_secure_storage_macos
import package_info
import path_provider_foundation
import share_plus
import shared_preferences_foundation
import url_launcher_macos
import wakelock_macos
@ -23,7 +22,6 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
FlutterSecureStoragePlugin.register(with: registry.registrar(forPlugin: "FlutterSecureStoragePlugin"))
FLTPackageInfoPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
SharePlusMacosPlugin.register(with: registry.registrar(forPlugin: "SharePlusMacosPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
WakelockMacosPlugin.register(with: registry.registrar(forPlugin: "WakelockMacosPlugin"))

View File

@ -17,6 +17,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "5.4.0"
animations:
dependency: "direct main"
description:
name: animations
sha256: fe8a6bdca435f718bb1dc8a11661b2c22504c6da40ef934cee8327ed77934164
url: "https://pub.dev"
source: hosted
version: "2.0.7"
archive:
dependency: transitive
description:
@ -41,6 +49,22 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.10.0"
auto_route:
dependency: "direct main"
description:
name: auto_route
sha256: "12047baeca0e01df93165ef33275b32119d72699ab9a49dc64c20e78f586f96d"
url: "https://pub.dev"
source: hosted
version: "5.0.4"
auto_route_generator:
dependency: "direct dev"
description:
name: auto_route_generator
sha256: de5bfbc02ae4eebb339dd90d325749ae7536e903f6513ef72b88954072d72b0e
url: "https://pub.dev"
source: hosted
version: "5.0.3"
auto_size_text:
dependency: "direct main"
description:
@ -209,14 +233,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.6.2"
cross_file:
dependency: transitive
description:
name: cross_file
sha256: "0b0036e8cccbfbe0555fd83c1d31a6f30b77a96b598b35a5d36dd41f718695e9"
url: "https://pub.dev"
source: hosted
version: "0.3.3+4"
crypt:
dependency: "direct main"
description:
@ -374,6 +390,14 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
flutter_adaptive_scaffold:
dependency: "direct main"
description:
name: flutter_adaptive_scaffold
sha256: d5842a235ec810320c7e6dac282876d93bccf231201be6e684b016cd717c0576
url: "https://pub.dev"
source: hosted
version: "0.1.0"
flutter_bloc:
dependency: "direct main"
description:
@ -1045,22 +1069,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.27.7"
share_plus:
dependency: "direct main"
description:
name: share_plus
sha256: e387077716f80609bb979cd199331033326033ecd1c8f200a90c5f57b1c9f55e
url: "https://pub.dev"
source: hosted
version: "6.3.0"
share_plus_platform_interface:
dependency: transitive
description:
name: share_plus_platform_interface
sha256: "82ddd4ab9260c295e6e39612d4ff00390b9a7a21f1bb1da771e2f232d80ab8a1"
url: "https://pub.dev"
source: hosted
version: "3.2.0"
shared_preferences:
dependency: transitive
description:

View File

@ -8,6 +8,8 @@ environment:
flutter: ">=3.7.0"
dependencies:
animations: ^2.0.7
auto_route: ^5.0.4
auto_size_text: ^3.0.0
basic_utils: ^5.4.2
crypt: ^4.2.1
@ -21,6 +23,7 @@ dependencies:
fl_chart: ^0.50.1
flutter:
sdk: flutter
flutter_adaptive_scaffold: ^0.1.0
flutter_bloc: ^8.1.1
flutter_markdown: ^0.6.13+1
flutter_secure_storage: ^7.0.1
@ -44,12 +47,12 @@ dependencies:
pretty_dio_logger: ^1.2.0-beta-1
provider: ^6.0.5
pub_semver: ^2.1.3
share_plus: ^6.3.0
timezone: ^0.9.1
url_launcher: ^6.1.8
wakelock: ^0.6.2
dev_dependencies:
auto_route_generator: ^5.0.3
flutter_test:
sdk: flutter
build_runner: ^2.3.3

View File

@ -10,7 +10,6 @@
#include <dynamic_color/dynamic_color_plugin_c_api.h>
#include <flutter_secure_storage_windows/flutter_secure_storage_windows_plugin.h>
#include <local_auth_windows/local_auth_plugin.h>
#include <share_plus/share_plus_windows_plugin_c_api.h>
#include <url_launcher_windows/url_launcher_windows.h>
void RegisterPlugins(flutter::PluginRegistry* registry) {
@ -22,8 +21,6 @@ void RegisterPlugins(flutter::PluginRegistry* registry) {
registry->GetRegistrarForPlugin("FlutterSecureStorageWindowsPlugin"));
LocalAuthPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("LocalAuthPlugin"));
SharePlusWindowsPluginCApiRegisterWithRegistrar(
registry->GetRegistrarForPlugin("SharePlusWindowsPluginCApi"));
UrlLauncherWindowsRegisterWithRegistrar(
registry->GetRegistrarForPlugin("UrlLauncherWindows"));
}

View File

@ -7,7 +7,6 @@ list(APPEND FLUTTER_PLUGIN_LIST
dynamic_color
flutter_secure_storage_windows
local_auth_windows
share_plus
url_launcher_windows
)