diff --git a/linux/flutter/generated_plugin_registrant.cc b/linux/flutter/generated_plugin_registrant.cc index f6f23bf..01a1ec8 100644 --- a/linux/flutter/generated_plugin_registrant.cc +++ b/linux/flutter/generated_plugin_registrant.cc @@ -7,9 +7,13 @@ #include "generated_plugin_registrant.h" #include +#include void fl_register_plugins(FlPluginRegistry* registry) { 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); + g_autoptr(FlPluginRegistrar) yaru_registrar = + fl_plugin_registry_get_registrar_for_plugin(registry, "YaruPlugin"); + yaru_plugin_register_with_registrar(yaru_registrar); } diff --git a/linux/flutter/generated_plugins.cmake b/linux/flutter/generated_plugins.cmake index f16b4c3..639d4f3 100644 --- a/linux/flutter/generated_plugins.cmake +++ b/linux/flutter/generated_plugins.cmake @@ -4,6 +4,7 @@ list(APPEND FLUTTER_PLUGIN_LIST url_launcher_linux + yaru ) list(APPEND FLUTTER_FFI_PLUGIN_LIST diff --git a/pubspec.lock b/pubspec.lock index 511ea58..e3124b0 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -113,13 +113,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.2.4" - dbus: - dependency: transitive - description: - name: dbus - url: "https://pub.dartlang.org" - source: hosted - version: "0.7.8" fake_async: dependency: transitive description: @@ -184,13 +177,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.1.0" - gsettings: - dependency: transitive - description: - name: gsettings - url: "https://pub.dartlang.org" - source: hosted - version: "0.2.5" html: dependency: transitive description: @@ -615,7 +601,7 @@ packages: name: yaru url: "https://pub.dartlang.org" source: hosted - version: "0.3.3" + version: "0.4.3" yaru_color_generator: dependency: transitive description: @@ -643,7 +629,7 @@ packages: name: yaru_widgets url: "https://pub.dartlang.org" source: hosted - version: "1.1.2" + version: "2.0.0-beta-1" sdks: dart: ">=2.18.0 <3.0.0" - flutter: ">=3.0.0" + flutter: ">=3.3.0" diff --git a/pubspec.yaml b/pubspec.yaml index fc96a7a..8d8da1c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -17,9 +17,9 @@ dependencies: package_info_plus: ^1.4.2 shared_preferences: ^2.0.15 url_launcher: ^6.1.5 - yaru: ^0.3.3 - yaru_icons: ^0.2.2 - yaru_widgets: ^1.1.2 + yaru: ^0.4.3 + yaru_icons: ^0.2.6 + yaru_widgets: ^2.0.0-beta-1 dev_dependencies: dart_code_metrics: ^4.16.0