File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77#include " generated_plugin_registrant.h"
88
9+ #include < url_launcher_linux/url_launcher_plugin.h>
910
1011void 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);
1115}
Original file line number Diff line number Diff line change 33#
44
55list (APPEND FLUTTER_PLUGIN_LIST
6+ url_launcher_linux
67)
78
89list (APPEND FLUTTER_FFI_PLUGIN_LIST
Original file line number Diff line number Diff line change @@ -7,8 +7,10 @@ import Foundation
77
88import path_provider_foundation
99import shared_preferences_foundation
10+ import url_launcher_macos
1011
1112func RegisterGeneratedPlugins( registry: FlutterPluginRegistry ) {
1213 PathProviderPlugin . register ( with: registry. registrar ( forPlugin: " PathProviderPlugin " ) )
1314 SharedPreferencesPlugin . register ( with: registry. registrar ( forPlugin: " SharedPreferencesPlugin " ) )
15+ UrlLauncherPlugin . register ( with: registry. registrar ( forPlugin: " UrlLauncherPlugin " ) )
1416}
Original file line number Diff line number Diff line change @@ -362,6 +362,70 @@ packages:
362362 url: "https://pub.dev"
363363 source: hosted
364364 version: "0.7.7"
365+ url_launcher:
366+ dependency: "direct main"
367+ description:
368+ name: url_launcher
369+ sha256: f6a7e5c4835bb4e3026a04793a4199ca2d14c739ec378fdfe23fc8075d0439f8
370+ url: "https://pub.dev"
371+ source: hosted
372+ version: "6.3.2"
373+ url_launcher_android:
374+ dependency: transitive
375+ description:
376+ name: url_launcher_android
377+ sha256: "767344bf3063897b5cf0db830e94f904528e6dd50a6dfaf839f0abf509009611"
378+ url: "https://pub.dev"
379+ source: hosted
380+ version: "6.3.28"
381+ url_launcher_ios:
382+ dependency: transitive
383+ description:
384+ name: url_launcher_ios
385+ sha256: cfde38aa257dae62ffe79c87fab20165dfdf6988c1d31b58ebf59b9106062aad
386+ url: "https://pub.dev"
387+ source: hosted
388+ version: "6.3.6"
389+ url_launcher_linux:
390+ dependency: transitive
391+ description:
392+ name: url_launcher_linux
393+ sha256: d5e14138b3bc193a0f63c10a53c94b91d399df0512b1f29b94a043db7482384a
394+ url: "https://pub.dev"
395+ source: hosted
396+ version: "3.2.2"
397+ url_launcher_macos:
398+ dependency: transitive
399+ description:
400+ name: url_launcher_macos
401+ sha256: "368adf46f71ad3c21b8f06614adb38346f193f3a59ba8fe9a2fd74133070ba18"
402+ url: "https://pub.dev"
403+ source: hosted
404+ version: "3.2.5"
405+ url_launcher_platform_interface:
406+ dependency: transitive
407+ description:
408+ name: url_launcher_platform_interface
409+ sha256: "552f8a1e663569be95a8190206a38187b531910283c3e982193e4f2733f01029"
410+ url: "https://pub.dev"
411+ source: hosted
412+ version: "2.3.2"
413+ url_launcher_web:
414+ dependency: transitive
415+ description:
416+ name: url_launcher_web
417+ sha256: "4bd2b7b4dc4d4d0b94e5babfffbca8eac1a126c7f3d6ecbc1a11013faa3abba2"
418+ url: "https://pub.dev"
419+ source: hosted
420+ version: "2.4.1"
421+ url_launcher_windows:
422+ dependency: transitive
423+ description:
424+ name: url_launcher_windows
425+ sha256: "712c70ab1b99744ff066053cbe3e80c73332b38d46e5e945c98689b2e66fc15f"
426+ url: "https://pub.dev"
427+ source: hosted
428+ version: "3.1.5"
365429 vector_math:
366430 dependency: transitive
367431 description:
Original file line number Diff line number Diff line change 11name : code_juge
2- description : " A new Flutter project ."
2+ description : " A simple code judger, which helps students to learn programming by heart ."
33# The following line prevents the package from being accidentally published to
44# pub.dev using `flutter pub publish`. This is preferred for private packages.
55publish_to : ' none' # Remove this line if you wish to publish to pub.dev
@@ -30,6 +30,7 @@ environment:
3030dependencies :
3131 flutter :
3232 sdk : flutter
33+ url_launcher : ^6.3.2
3334
3435 # The following adds the Cupertino Icons font to your application.
3536 # Use with the CupertinoIcons class for iOS style icons.
Original file line number Diff line number Diff line change 66
77#include " generated_plugin_registrant.h"
88
9+ #include < url_launcher_windows/url_launcher_windows.h>
910
1011void RegisterPlugins (flutter::PluginRegistry* registry) {
12+ UrlLauncherWindowsRegisterWithRegistrar (
13+ registry->GetRegistrarForPlugin (" UrlLauncherWindows" ));
1114}
Original file line number Diff line number Diff line change 33#
44
55list (APPEND FLUTTER_PLUGIN_LIST
6+ url_launcher_windows
67)
78
89list (APPEND FLUTTER_FFI_PLUGIN_LIST
You can’t perform that action at this time.
0 commit comments