File tree Expand file tree Collapse file tree 7 files changed +89
-0
lines changed Expand file tree Collapse file tree 7 files changed +89
-0
lines changed Original file line number Diff line number Diff line change 6
6
7
7
#include " generated_plugin_registrant.h"
8
8
9
+ #include < url_launcher_linux/url_launcher_plugin.h>
9
10
10
11
void fl_register_plugins (FlPluginRegistry* registry) {
12
+ g_autoptr (FlPluginRegistrar) url_launcher_linux_registrar =
13
+ fl_plugin_registry_get_registrar_for_plugin (registry, " UrlLauncherPlugin" );
14
+ url_launcher_plugin_register_with_registrar (url_launcher_linux_registrar);
11
15
}
Original file line number Diff line number Diff line change 3
3
#
4
4
5
5
list (APPEND FLUTTER_PLUGIN_LIST
6
+ url_launcher_linux
6
7
)
7
8
8
9
list (APPEND FLUTTER_FFI_PLUGIN_LIST
Original file line number Diff line number Diff line change 5
5
import FlutterMacOS
6
6
import Foundation
7
7
8
+ import url_launcher_macos
8
9
9
10
func RegisterGeneratedPlugins( registry: FlutterPluginRegistry ) {
11
+ UrlLauncherPlugin . register ( with: registry. registrar ( forPlugin: " UrlLauncherPlugin " ) )
10
12
}
Original file line number Diff line number Diff line change @@ -107,6 +107,11 @@ packages:
107
107
description: flutter
108
108
source: sdk
109
109
version: "0.0.0"
110
+ flutter_web_plugins:
111
+ dependency: transitive
112
+ description: flutter
113
+ source: sdk
114
+ version: "0.0.0"
110
115
http:
111
116
dependency: transitive
112
117
description:
@@ -179,6 +184,14 @@ packages:
179
184
url: "https://pub.dev"
180
185
source: hosted
181
186
version: "1.8.2"
187
+ plugin_platform_interface:
188
+ dependency: transitive
189
+ description:
190
+ name: plugin_platform_interface
191
+ sha256: "6a2128648c854906c53fa8e33986fc0247a1116122f9534dd20e3ab9e16a32bc"
192
+ url: "https://pub.dev"
193
+ source: hosted
194
+ version: "2.1.4"
182
195
pointycastle:
183
196
dependency: transitive
184
197
description:
@@ -248,6 +261,70 @@ packages:
248
261
url: "https://pub.dev"
249
262
source: hosted
250
263
version: "1.3.1"
264
+ url_launcher:
265
+ dependency: "direct main"
266
+ description:
267
+ name: url_launcher
268
+ sha256: "75f2846facd11168d007529d6cd8fcb2b750186bea046af9711f10b907e1587e"
269
+ url: "https://pub.dev"
270
+ source: hosted
271
+ version: "6.1.10"
272
+ url_launcher_android:
273
+ dependency: transitive
274
+ description:
275
+ name: url_launcher_android
276
+ sha256: a52628068d282d01a07cd86e6ba99e497aa45ce8c91159015b2416907d78e411
277
+ url: "https://pub.dev"
278
+ source: hosted
279
+ version: "6.0.27"
280
+ url_launcher_ios:
281
+ dependency: transitive
282
+ description:
283
+ name: url_launcher_ios
284
+ sha256: "9af7ea73259886b92199f9e42c116072f05ff9bea2dcb339ab935dfc957392c2"
285
+ url: "https://pub.dev"
286
+ source: hosted
287
+ version: "6.1.4"
288
+ url_launcher_linux:
289
+ dependency: transitive
290
+ description:
291
+ name: url_launcher_linux
292
+ sha256: "206fb8334a700ef7754d6a9ed119e7349bc830448098f21a69bf1b4ed038cabc"
293
+ url: "https://pub.dev"
294
+ source: hosted
295
+ version: "3.0.4"
296
+ url_launcher_macos:
297
+ dependency: transitive
298
+ description:
299
+ name: url_launcher_macos
300
+ sha256: "91ee3e75ea9dadf38036200c5d3743518f4a5eb77a8d13fda1ee5764373f185e"
301
+ url: "https://pub.dev"
302
+ source: hosted
303
+ version: "3.0.5"
304
+ url_launcher_platform_interface:
305
+ dependency: transitive
306
+ description:
307
+ name: url_launcher_platform_interface
308
+ sha256: "6c9ca697a5ae218ce56cece69d46128169a58aa8653c1b01d26fcd4aad8c4370"
309
+ url: "https://pub.dev"
310
+ source: hosted
311
+ version: "2.1.2"
312
+ url_launcher_web:
313
+ dependency: transitive
314
+ description:
315
+ name: url_launcher_web
316
+ sha256: "81fe91b6c4f84f222d186a9d23c73157dc4c8e1c71489c4d08be1ad3b228f1aa"
317
+ url: "https://pub.dev"
318
+ source: hosted
319
+ version: "2.0.16"
320
+ url_launcher_windows:
321
+ dependency: transitive
322
+ description:
323
+ name: url_launcher_windows
324
+ sha256: a83ba3607a507758669cfafb03f9de09bf6e6280c14d9b9cb18f013e406dcacd
325
+ url: "https://pub.dev"
326
+ source: hosted
327
+ version: "3.0.5"
251
328
vector_math:
252
329
dependency: transitive
253
330
description:
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ dependencies:
37
37
cupertino_icons : ^1.0.2
38
38
brain_fusion : ^0.0.6
39
39
lottie : ^2.3.2
40
+ url_launcher : ^6.1.10
40
41
41
42
dev_dependencies :
42
43
flutter_test :
Original file line number Diff line number Diff line change 6
6
7
7
#include " generated_plugin_registrant.h"
8
8
9
+ #include < url_launcher_windows/url_launcher_windows.h>
9
10
10
11
void RegisterPlugins (flutter::PluginRegistry* registry) {
12
+ UrlLauncherWindowsRegisterWithRegistrar (
13
+ registry->GetRegistrarForPlugin (" UrlLauncherWindows" ));
11
14
}
Original file line number Diff line number Diff line change 3
3
#
4
4
5
5
list (APPEND FLUTTER_PLUGIN_LIST
6
+ url_launcher_windows
6
7
)
7
8
8
9
list (APPEND FLUTTER_FFI_PLUGIN_LIST
You can’t perform that action at this time.
0 commit comments