File tree Expand file tree Collapse file tree 7 files changed +86
-1
lines changed Expand file tree Collapse file tree 7 files changed +86
-1
lines changed Original file line number Diff line number Diff line change 7
7
#include " generated_plugin_registrant.h"
8
8
9
9
#include < file_selector_linux/file_selector_plugin.h>
10
+ #include < url_launcher_linux/url_launcher_plugin.h>
10
11
11
12
void fl_register_plugins (FlPluginRegistry* registry) {
12
13
g_autoptr (FlPluginRegistrar) file_selector_linux_registrar =
13
14
fl_plugin_registry_get_registrar_for_plugin (registry, " FileSelectorPlugin" );
14
15
file_selector_plugin_register_with_registrar (file_selector_linux_registrar);
16
+ g_autoptr (FlPluginRegistrar) url_launcher_linux_registrar =
17
+ fl_plugin_registry_get_registrar_for_plugin (registry, " UrlLauncherPlugin" );
18
+ url_launcher_plugin_register_with_registrar (url_launcher_linux_registrar);
15
19
}
Original file line number Diff line number Diff line change 4
4
5
5
list (APPEND FLUTTER_PLUGIN_LIST
6
6
file_selector_linux
7
+ url_launcher_linux
7
8
)
8
9
9
10
list (APPEND FLUTTER_FFI_PLUGIN_LIST
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import firebase_core
12
12
import firebase_storage
13
13
import rive_common
14
14
import shared_preferences_foundation
15
+ import url_launcher_macos
15
16
16
17
func RegisterGeneratedPlugins( registry: FlutterPluginRegistry ) {
17
18
FLTFirebaseFirestorePlugin . register ( with: registry. registrar ( forPlugin: " FLTFirebaseFirestorePlugin " ) )
@@ -21,4 +22,5 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
21
22
FLTFirebaseStoragePlugin . register ( with: registry. registrar ( forPlugin: " FLTFirebaseStoragePlugin " ) )
22
23
RivePlugin . register ( with: registry. registrar ( forPlugin: " RivePlugin " ) )
23
24
SharedPreferencesPlugin . register ( with: registry. registrar ( forPlugin: " SharedPreferencesPlugin " ) )
25
+ UrlLauncherPlugin . register ( with: registry. registrar ( forPlugin: " UrlLauncherPlugin " ) )
24
26
}
Original file line number Diff line number Diff line change @@ -389,6 +389,14 @@ packages:
389
389
url: "https://pub.dev"
390
390
source: hosted
391
391
version: "13.2.0"
392
+ google_generative_ai:
393
+ dependency: "direct main"
394
+ description:
395
+ name: google_generative_ai
396
+ sha256: b2d3f7277a85e3e6be4c4392c59e73ea211b5b6c8bb21c24c71fd411a2d1822e
397
+ url: "https://pub.dev"
398
+ source: hosted
399
+ version: "0.2.2"
392
400
graphs:
393
401
dependency: transitive
394
402
description:
@@ -778,6 +786,70 @@ packages:
778
786
url: "https://pub.dev"
779
787
source: hosted
780
788
version: "1.3.2"
789
+ url_launcher:
790
+ dependency: "direct main"
791
+ description:
792
+ name: url_launcher
793
+ sha256: "0ecc004c62fd3ed36a2ffcbe0dd9700aee63bd7532d0b642a488b1ec310f492e"
794
+ url: "https://pub.dev"
795
+ source: hosted
796
+ version: "6.2.5"
797
+ url_launcher_android:
798
+ dependency: transitive
799
+ description:
800
+ name: url_launcher_android
801
+ sha256: d4ed0711849dd8e33eb2dd69c25db0d0d3fdc37e0a62e629fe32f57a22db2745
802
+ url: "https://pub.dev"
803
+ source: hosted
804
+ version: "6.3.0"
805
+ url_launcher_ios:
806
+ dependency: transitive
807
+ description:
808
+ name: url_launcher_ios
809
+ sha256: "9149d493b075ed740901f3ee844a38a00b33116c7c5c10d7fb27df8987fb51d5"
810
+ url: "https://pub.dev"
811
+ source: hosted
812
+ version: "6.2.5"
813
+ url_launcher_linux:
814
+ dependency: transitive
815
+ description:
816
+ name: url_launcher_linux
817
+ sha256: ab360eb661f8879369acac07b6bb3ff09d9471155357da8443fd5d3cf7363811
818
+ url: "https://pub.dev"
819
+ source: hosted
820
+ version: "3.1.1"
821
+ url_launcher_macos:
822
+ dependency: transitive
823
+ description:
824
+ name: url_launcher_macos
825
+ sha256: b7244901ea3cf489c5335bdacda07264a6e960b1c1b1a9f91e4bc371d9e68234
826
+ url: "https://pub.dev"
827
+ source: hosted
828
+ version: "3.1.0"
829
+ url_launcher_platform_interface:
830
+ dependency: transitive
831
+ description:
832
+ name: url_launcher_platform_interface
833
+ sha256: "552f8a1e663569be95a8190206a38187b531910283c3e982193e4f2733f01029"
834
+ url: "https://pub.dev"
835
+ source: hosted
836
+ version: "2.3.2"
837
+ url_launcher_web:
838
+ dependency: transitive
839
+ description:
840
+ name: url_launcher_web
841
+ sha256: fff0932192afeedf63cdd50ecbb1bc825d31aed259f02bb8dba0f3b729a5e88b
842
+ url: "https://pub.dev"
843
+ source: hosted
844
+ version: "2.2.3"
845
+ url_launcher_windows:
846
+ dependency: transitive
847
+ description:
848
+ name: url_launcher_windows
849
+ sha256: ecf9725510600aa2bb6d7ddabe16357691b6d2805f66216a97d1b881e21beff7
850
+ url: "https://pub.dev"
851
+ source: hosted
852
+ version: "3.1.1"
781
853
vector_graphics:
782
854
dependency: transitive
783
855
description:
@@ -844,4 +916,4 @@ packages:
844
916
version: "6.5.0"
845
917
sdks:
846
918
dart: ">=3.2.6 <4.0.0"
847
- flutter: ">=3.16.0 "
919
+ flutter: ">=3.16.6 "
Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ dependencies:
57
57
intl : ^0.18.1
58
58
awesome_snackbar_content : ^0.1.3
59
59
awesome_dialog : ^3.2.0
60
+ url_launcher : ^6.2.5
61
+ google_generative_ai : ^0.2.2
60
62
dev_dependencies :
61
63
flutter_test :
62
64
sdk : flutter
Original file line number Diff line number Diff line change 12
12
#include < firebase_core/firebase_core_plugin_c_api.h>
13
13
#include < firebase_storage/firebase_storage_plugin_c_api.h>
14
14
#include < rive_common/rive_plugin.h>
15
+ #include < url_launcher_windows/url_launcher_windows.h>
15
16
16
17
void RegisterPlugins (flutter::PluginRegistry* registry) {
17
18
CloudFirestorePluginCApiRegisterWithRegistrar (
@@ -26,4 +27,6 @@ void RegisterPlugins(flutter::PluginRegistry* registry) {
26
27
registry->GetRegistrarForPlugin (" FirebaseStoragePluginCApi" ));
27
28
RivePluginRegisterWithRegistrar (
28
29
registry->GetRegistrarForPlugin (" RivePlugin" ));
30
+ UrlLauncherWindowsRegisterWithRegistrar (
31
+ registry->GetRegistrarForPlugin (" UrlLauncherWindows" ));
29
32
}
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
9
9
firebase_core
10
10
firebase_storage
11
11
rive_common
12
+ url_launcher_windows
12
13
)
13
14
14
15
list (APPEND FLUTTER_FFI_PLUGIN_LIST
You can’t perform that action at this time.
0 commit comments