Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

chore: update flutter svg

Lucas.Xubbc9b5e902ad
diff --git a/frontend/app_flowy/linux/flutter/generated_plugin_registrant.cc b/frontend/app_flowy/linux/flutter/generated_plugin_registrant.cc
index 9fdfa38294..ae6ec7ed89 100644
--- a/frontend/app_flowy/linux/flutter/generated_plugin_registrant.cc
+++ b/frontend/app_flowy/linux/flutter/generated_plugin_registrant.cc
@@ -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);
diff --git a/frontend/app_flowy/linux/flutter/generated_plugins.cmake b/frontend/app_flowy/linux/flutter/generated_plugins.cmake
index c7ae414da2..3e0d068b6a 100644
--- a/frontend/app_flowy/linux/flutter/generated_plugins.cmake
+++ b/frontend/app_flowy/linux/flutter/generated_plugins.cmake
@@ -4,6 +4,7 @@
list(APPEND FLUTTER_PLUGIN_LIST
flowy_infra_ui
+ rich_clipboard_linux
url_launcher_linux
window_size
)
diff --git a/frontend/app_flowy/macos/Flutter/GeneratedPluginRegistrant.swift b/frontend/app_flowy/macos/Flutter/GeneratedPluginRegistrant.swift
index 8d97942332..60d2b8c792 100644
--- a/frontend/app_flowy/macos/Flutter/GeneratedPluginRegistrant.swift
+++ b/frontend/app_flowy/macos/Flutter/GeneratedPluginRegistrant.swift
@@ -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"))
diff --git a/frontend/app_flowy/packages/flowy_infra/pubspec.yaml b/frontend/app_flowy/packages/flowy_infra/pubspec.yaml
index e47fd1d58c..ebd7656af9 100644
--- a/frontend/app_flowy/packages/flowy_infra/pubspec.yaml
+++ b/frontend/app_flowy/packages/flowy_infra/pubspec.yaml
@@ -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:
diff --git a/frontend/app_flowy/pubspec.lock b/frontend/app_flowy/pubspec.lock
index c8ef9fe47a..0348536cb8 100644
--- a/frontend/app_flowy/pubspec.lock
+++ b/frontend/app_flowy/pubspec.lock
@@ -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:
diff --git a/frontend/app_flowy/pubspec.yaml b/frontend/app_flowy/pubspec.yaml
index 14bbd2eace..f713825a4f 100644
--- a/frontend/app_flowy/pubspec.yaml
+++ b/frontend/app_flowy/pubspec.yaml
@@ -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