Showing
3 changed files
with
6 additions
and
1 deletions
| @@ -6,10 +6,14 @@ | @@ -6,10 +6,14 @@ | ||
| 6 | 6 | ||
| 7 | #include "generated_plugin_registrant.h" | 7 | #include "generated_plugin_registrant.h" |
| 8 | 8 | ||
| 9 | +#include <open_file_linux/open_file_linux_plugin.h> | ||
| 9 | #include <printing/printing_plugin.h> | 10 | #include <printing/printing_plugin.h> |
| 10 | #include <url_launcher_linux/url_launcher_plugin.h> | 11 | #include <url_launcher_linux/url_launcher_plugin.h> |
| 11 | 12 | ||
| 12 | void fl_register_plugins(FlPluginRegistry* registry) { | 13 | void fl_register_plugins(FlPluginRegistry* registry) { |
| 14 | + g_autoptr(FlPluginRegistrar) open_file_linux_registrar = | ||
| 15 | + fl_plugin_registry_get_registrar_for_plugin(registry, "OpenFileLinuxPlugin"); | ||
| 16 | + open_file_linux_plugin_register_with_registrar(open_file_linux_registrar); | ||
| 13 | g_autoptr(FlPluginRegistrar) printing_registrar = | 17 | g_autoptr(FlPluginRegistrar) printing_registrar = |
| 14 | fl_plugin_registry_get_registrar_for_plugin(registry, "PrintingPlugin"); | 18 | fl_plugin_registry_get_registrar_for_plugin(registry, "PrintingPlugin"); |
| 15 | printing_plugin_register_with_registrar(printing_registrar); | 19 | printing_plugin_register_with_registrar(printing_registrar); |
| @@ -20,7 +20,7 @@ dependencies: | @@ -20,7 +20,7 @@ dependencies: | ||
| 20 | 20 | ||
| 21 | dev_dependencies: | 21 | dev_dependencies: |
| 22 | # flutter_launcher_icons: ^0.10.0 | 22 | # flutter_launcher_icons: ^0.10.0 |
| 23 | - flutter_lints: ^4.0.0 | 23 | + flutter_lints: ^5.0.0 |
| 24 | flutter_test: | 24 | flutter_test: |
| 25 | sdk: flutter | 25 | sdk: flutter |
| 26 | test: | 26 | test: |
-
Please register or login to post a comment