chore: update flutter svg

This commit is contained in:
Lucas.Xu 2022-08-18 18:59:59 +08:00
parent 78ce606daf
commit bbc9b5e902
6 changed files with 79 additions and 10 deletions

View File

@ -7,6 +7,7 @@
#include "generated_plugin_registrant.h"
#include <flowy_infra_ui/flowy_infra_u_i_plugin.h>
#include <rich_clipboard_linux/rich_clipboard_plugin.h>
#include <url_launcher_linux/url_launcher_plugin.h>
#include <window_size/window_size_plugin.h>
@ -14,6 +15,9 @@ void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) flowy_infra_ui_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "FlowyInfraUIPlugin");
flowy_infra_u_i_plugin_register_with_registrar(flowy_infra_ui_registrar);
g_autoptr(FlPluginRegistrar) rich_clipboard_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "RichClipboardPlugin");
rich_clipboard_plugin_register_with_registrar(rich_clipboard_linux_registrar);
g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);

View File

@ -4,6 +4,7 @@
list(APPEND FLUTTER_PLUGIN_LIST
flowy_infra_ui
rich_clipboard_linux
url_launcher_linux
window_size
)

View File

@ -11,6 +11,7 @@ import flowy_infra_ui
import flowy_sdk
import package_info_plus_macos
import path_provider_macos
import rich_clipboard_macos
import shared_preferences_macos
import url_launcher_macos
import window_size
@ -22,6 +23,7 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
FlowySdkPlugin.register(with: registry.registrar(forPlugin: "FlowySdkPlugin"))
FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
RichClipboardPlugin.register(with: registry.registrar(forPlugin: "RichClipboardPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
WindowSizePlugin.register(with: registry.registrar(forPlugin: "WindowSizePlugin"))

View File

@ -13,7 +13,7 @@ dependencies:
time: '>=2.0.0'
uuid: ">=2.2.2"
textstyle_extensions: '2.0.0-nullsafety'
flutter_svg: ^0.22.0
flutter_svg: ^1.1.1
dev_dependencies:
flutter_test:

View File

@ -29,6 +29,13 @@ packages:
relative: true
source: path
version: "0.0.4"
appflowy_editor:
dependency: "direct main"
description:
path: "packages/appflowy_editor"
relative: true
source: path
version: "0.0.1"
args:
dependency: transitive
description:
@ -273,7 +280,7 @@ packages:
name: dbus
url: "https://pub.dartlang.org"
source: hosted
version: "0.7.3"
version: "0.7.4"
device_info_plus:
dependency: "direct main"
description:
@ -490,12 +497,12 @@ packages:
source: git
version: "2.0.13"
flutter_svg:
dependency: "direct main"
dependency: transitive
description:
name: flutter_svg
url: "https://pub.dartlang.org"
source: hosted
version: "0.22.0"
version: "1.1.4"
flutter_test:
dependency: "direct dev"
description: flutter
@ -827,14 +834,14 @@ packages:
name: path_drawing
url: "https://pub.dartlang.org"
source: hosted
version: "0.5.1+1"
version: "1.0.1"
path_parsing:
dependency: transitive
description:
name: path_parsing
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.1"
version: "1.0.1"
path_provider:
dependency: "direct main"
description:
@ -975,6 +982,62 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.5.0"
rich_clipboard:
dependency: transitive
description:
name: rich_clipboard
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.1"
rich_clipboard_android:
dependency: transitive
description:
name: rich_clipboard_android
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
rich_clipboard_ios:
dependency: transitive
description:
name: rich_clipboard_ios
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
rich_clipboard_linux:
dependency: transitive
description:
name: rich_clipboard_linux
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
rich_clipboard_macos:
dependency: transitive
description:
name: rich_clipboard_macos
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.1"
rich_clipboard_platform_interface:
dependency: transitive
description:
name: rich_clipboard_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
rich_clipboard_web:
dependency: transitive
description:
name: rich_clipboard_web
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
rich_clipboard_windows:
dependency: transitive
description:
name: rich_clipboard_windows
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
shared_preferences:
dependency: transitive
description:
@ -1245,7 +1308,7 @@ packages:
name: url_launcher
url: "https://pub.dartlang.org"
source: hosted
version: "6.1.2"
version: "6.1.5"
url_launcher_android:
dependency: transitive
description:
@ -1280,7 +1343,7 @@ packages:
name: url_launcher_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.5"
version: "2.1.0"
url_launcher_web:
dependency: transitive
description:
@ -1401,7 +1464,7 @@ packages:
name: xml
url: "https://pub.dartlang.org"
source: hosted
version: "5.4.1"
version: "6.1.0"
yaml:
dependency: transitive
description:

View File

@ -63,7 +63,6 @@ dependencies:
sized_context: ^1.0.0+1
styled_widget: "^0.3.1"
expandable: ^5.0.1
flutter_svg: ^0.22.0
flutter_colorpicker: ^0.6.0
package_info_plus: ^1.3.0
url_launcher: ^6.0.2