Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
dart_pdf
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
David PHAM-VAN
2024-09-26 10:24:55 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2ea8ef662ef5cd99ffc6f3ff39d110d07c77a2d7
2ea8ef66
1 parent
5072e8a9
Update demo project
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletions
demo/linux/flutter/generated_plugin_registrant.cc
demo/linux/flutter/generated_plugins.cmake
demo/pubspec.yaml
demo/linux/flutter/generated_plugin_registrant.cc
View file @
2ea8ef6
...
...
@@ -6,10 +6,14 @@
#include "generated_plugin_registrant.h"
#include <open_file_linux/open_file_linux_plugin.h>
#include <printing/printing_plugin.h>
#include <url_launcher_linux/url_launcher_plugin.h>
void
fl_register_plugins
(
FlPluginRegistry
*
registry
)
{
g_autoptr
(
FlPluginRegistrar
)
open_file_linux_registrar
=
fl_plugin_registry_get_registrar_for_plugin
(
registry
,
"OpenFileLinuxPlugin"
);
open_file_linux_plugin_register_with_registrar
(
open_file_linux_registrar
);
g_autoptr
(
FlPluginRegistrar
)
printing_registrar
=
fl_plugin_registry_get_registrar_for_plugin
(
registry
,
"PrintingPlugin"
);
printing_plugin_register_with_registrar
(
printing_registrar
);
...
...
demo/linux/flutter/generated_plugins.cmake
View file @
2ea8ef6
...
...
@@ -3,6 +3,7 @@
#
list
(
APPEND FLUTTER_PLUGIN_LIST
open_file_linux
printing
url_launcher_linux
)
...
...
demo/pubspec.yaml
View file @
2ea8ef6
...
...
@@ -20,7 +20,7 @@ dependencies:
dev_dependencies
:
# flutter_launcher_icons: ^0.10.0
flutter_lints
:
^
4
.0.0
flutter_lints
:
^
5
.0.0
flutter_test
:
sdk
:
flutter
test
:
...
...
Please
register
or
login
to post a comment