Skip to content

Commit c2907c8

Browse files
committed
chore: update dependencies and SDK version in pubspec.yaml
- Bump SDK version from 3.3.3 to 3.8.0
1 parent e578332 commit c2907c8

File tree

5 files changed

+326
-234
lines changed

5 files changed

+326
-234
lines changed

linux/flutter/generated_plugin_registrant.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#include <desktop_drop/desktop_drop_plugin.h>
1010
#include <file_selector_linux/file_selector_plugin.h>
11+
#include <open_file_linux/open_file_linux_plugin.h>
1112

1213
void fl_register_plugins(FlPluginRegistry* registry) {
1314
g_autoptr(FlPluginRegistrar) desktop_drop_registrar =
@@ -16,4 +17,7 @@ void fl_register_plugins(FlPluginRegistry* registry) {
1617
g_autoptr(FlPluginRegistrar) file_selector_linux_registrar =
1718
fl_plugin_registry_get_registrar_for_plugin(registry, "FileSelectorPlugin");
1819
file_selector_plugin_register_with_registrar(file_selector_linux_registrar);
20+
g_autoptr(FlPluginRegistrar) open_file_linux_registrar =
21+
fl_plugin_registry_get_registrar_for_plugin(registry, "OpenFileLinuxPlugin");
22+
open_file_linux_plugin_register_with_registrar(open_file_linux_registrar);
1923
}

linux/flutter/generated_plugins.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
list(APPEND FLUTTER_PLUGIN_LIST
66
desktop_drop
77
file_selector_linux
8+
open_file_linux
89
)
910

1011
list(APPEND FLUTTER_FFI_PLUGIN_LIST

macos/Flutter/GeneratedPluginRegistrant.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ import Foundation
77

88
import desktop_drop
99
import file_selector_macos
10+
import open_file_mac
1011
import path_provider_foundation
1112
import shared_preferences_foundation
1213

1314
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
1415
DesktopDropPlugin.register(with: registry.registrar(forPlugin: "DesktopDropPlugin"))
1516
FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin"))
17+
OpenFilePlugin.register(with: registry.registrar(forPlugin: "OpenFilePlugin"))
1618
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
1719
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
1820
}

0 commit comments

Comments
 (0)