diff --git a/.dart_tool/dartpad/web_plugin_registrant.dart b/.dart_tool/dartpad/web_plugin_registrant.dart index 9005992..474c94e 100644 --- a/.dart_tool/dartpad/web_plugin_registrant.dart +++ b/.dart_tool/dartpad/web_plugin_registrant.dart @@ -7,12 +7,18 @@ // ignore_for_file: type=lint import 'package:connectivity_plus/src/connectivity_plus_web.dart'; +import 'package:geolocator_web/geolocator_web.dart'; +import 'package:google_maps_flutter_web/google_maps_flutter_web.dart'; +import 'package:package_info_plus/src/package_info_plus_web.dart'; import 'package:shared_preferences_web/shared_preferences_web.dart'; import 'package:flutter_web_plugins/flutter_web_plugins.dart'; void registerPlugins([final Registrar? pluginRegistrar]) { final Registrar registrar = pluginRegistrar ?? webPluginRegistrar; ConnectivityPlusWebPlugin.registerWith(registrar); + GeolocatorPlugin.registerWith(registrar); + GoogleMapsPlugin.registerWith(registrar); + PackageInfoPlusWebPlugin.registerWith(registrar); SharedPreferencesPlugin.registerWith(registrar); registrar.registerMessageHandler(); } diff --git a/.dart_tool/package_config.json b/.dart_tool/package_config.json index 220fb8a..5e63f81 100644 --- a/.dart_tool/package_config.json +++ b/.dart_tool/package_config.json @@ -39,19 +39,19 @@ }, { "name": "cached_network_image", - "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image-3.4.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image-3.3.1", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "cached_network_image_platform_interface", - "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image_platform_interface-4.1.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image_platform_interface-4.0.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "cached_network_image_web", - "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image_web-1.3.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image_web-1.2.0", "packageUri": "lib/", "languageVersion": "3.0" }, @@ -97,6 +97,12 @@ "packageUri": "lib/", "languageVersion": "3.4" }, + { + "name": "csslib", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/csslib-1.0.2", + "packageUri": "lib/", + "languageVersion": "3.1" + }, { "name": "cupertino_icons", "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/cupertino_icons-1.0.8", @@ -171,9 +177,15 @@ }, { "name": "flutter_cache_manager", - "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_cache_manager-3.4.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_cache_manager-3.3.1", "packageUri": "lib/", - "languageVersion": "3.0" + "languageVersion": "2.17" + }, + { + "name": "flutter_google_places", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_google_places-0.3.0", + "packageUri": "lib/", + "languageVersion": "2.12" }, { "name": "flutter_lints", @@ -181,6 +193,12 @@ "packageUri": "lib/", "languageVersion": "3.1" }, + { + "name": "flutter_plugin_android_lifecycle", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.24", + "packageUri": "lib/", + "languageVersion": "3.5" + }, { "name": "flutter_screenutil", "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_screenutil-5.9.3", @@ -195,9 +213,9 @@ }, { "name": "flutter_svg", - "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_svg-2.0.17", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_svg-2.0.9", "packageUri": "lib/", - "languageVersion": "3.4" + "languageVersion": "2.19" }, { "name": "flutter_test", @@ -229,6 +247,66 @@ "packageUri": "lib/", "languageVersion": "2.12" }, + { + "name": "geocoding", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/geocoding-3.0.0", + "packageUri": "lib/", + "languageVersion": "2.17" + }, + { + "name": "geocoding_android", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/geocoding_android-3.3.1", + "packageUri": "lib/", + "languageVersion": "2.17" + }, + { + "name": "geocoding_ios", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/geocoding_ios-3.0.1", + "packageUri": "lib/", + "languageVersion": "2.17" + }, + { + "name": "geocoding_platform_interface", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/geocoding_platform_interface-3.2.0", + "packageUri": "lib/", + "languageVersion": "2.12" + }, + { + "name": "geolocator", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator-13.0.2", + "packageUri": "lib/", + "languageVersion": "2.15" + }, + { + "name": "geolocator_android", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_android-4.6.1", + "packageUri": "lib/", + "languageVersion": "2.15" + }, + { + "name": "geolocator_apple", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.8+1", + "packageUri": "lib/", + "languageVersion": "2.15" + }, + { + "name": "geolocator_platform_interface", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_platform_interface-4.2.4", + "packageUri": "lib/", + "languageVersion": "2.15" + }, + { + "name": "geolocator_web", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_web-4.1.1", + "packageUri": "lib/", + "languageVersion": "3.4" + }, + { + "name": "geolocator_windows", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_windows-0.2.3", + "packageUri": "lib/", + "languageVersion": "2.15" + }, { "name": "get_it", "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/get_it-8.0.3", @@ -241,18 +319,72 @@ "packageUri": "lib/", "languageVersion": "3.4" }, + { + "name": "google_api_headers", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/google_api_headers-1.6.0", + "packageUri": "lib/", + "languageVersion": "2.12" + }, { "name": "google_fonts", - "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/google_fonts-6.2.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/google_fonts-4.0.4", "packageUri": "lib/", "languageVersion": "2.14" }, { - "name": "http", - "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/http-1.3.0", + "name": "google_maps", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps-8.1.1", "packageUri": "lib/", "languageVersion": "3.4" }, + { + "name": "google_maps_flutter", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter-2.10.0", + "packageUri": "lib/", + "languageVersion": "3.4" + }, + { + "name": "google_maps_flutter_android", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_android-2.14.12", + "packageUri": "lib/", + "languageVersion": "3.5" + }, + { + "name": "google_maps_flutter_ios", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_ios-2.13.2", + "packageUri": "lib/", + "languageVersion": "3.3" + }, + { + "name": "google_maps_flutter_platform_interface", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_platform_interface-2.9.5", + "packageUri": "lib/", + "languageVersion": "3.3" + }, + { + "name": "google_maps_flutter_web", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_web-0.5.10", + "packageUri": "lib/", + "languageVersion": "3.3" + }, + { + "name": "google_maps_webservice", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_webservice-0.0.20-nullsafety.5", + "packageUri": "lib/", + "languageVersion": "2.12" + }, + { + "name": "html", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/html-0.15.5", + "packageUri": "lib/", + "languageVersion": "3.2" + }, + { + "name": "http", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/http-0.13.6", + "packageUri": "lib/", + "languageVersion": "2.19" + }, { "name": "http_parser", "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/http_parser-4.0.2", @@ -265,6 +397,12 @@ "packageUri": "lib/", "languageVersion": "3.0" }, + { + "name": "json_annotation", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/json_annotation-4.9.0", + "packageUri": "lib/", + "languageVersion": "3.0" + }, { "name": "leak_tracker", "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/leak_tracker-10.0.5", @@ -349,6 +487,18 @@ "packageUri": "lib/", "languageVersion": "2.12" }, + { + "name": "package_info_plus", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0", + "packageUri": "lib/", + "languageVersion": "2.18" + }, + { + "name": "package_info_plus_platform_interface", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/package_info_plus_platform_interface-2.0.1", + "packageUri": "lib/", + "languageVersion": "2.12" + }, { "name": "path", "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/path-1.9.0", @@ -441,7 +591,13 @@ }, { "name": "rxdart", - "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/rxdart-0.28.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/rxdart-0.26.0", + "packageUri": "lib/", + "languageVersion": "2.12" + }, + { + "name": "sanitize_html", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/sanitize_html-2.1.0", "packageUri": "lib/", "languageVersion": "2.12" }, @@ -547,6 +703,12 @@ "packageUri": "lib/", "languageVersion": "2.19" }, + { + "name": "stream_transform", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/stream_transform-2.1.1", + "packageUri": "lib/", + "languageVersion": "3.1" + }, { "name": "string_scanner", "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/string_scanner-1.2.0", @@ -585,21 +747,21 @@ }, { "name": "vector_graphics", - "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics-1.1.15", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics-1.1.10+1", "packageUri": "lib/", - "languageVersion": "3.4" + "languageVersion": "2.17" }, { "name": "vector_graphics_codec", - "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics_codec-1.1.13", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics_codec-1.1.10+1", "packageUri": "lib/", - "languageVersion": "3.4" + "languageVersion": "2.17" }, { "name": "vector_graphics_compiler", - "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics_compiler-1.1.16", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics_compiler-1.1.10+1", "packageUri": "lib/", - "languageVersion": "3.4" + "languageVersion": "2.19" }, { "name": "vector_math", @@ -619,6 +781,12 @@ "packageUri": "lib/", "languageVersion": "3.4" }, + { + "name": "win32", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/win32-5.10.1", + "packageUri": "lib/", + "languageVersion": "3.5" + }, { "name": "xdg_directories", "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/xdg_directories-1.1.0", @@ -638,7 +806,7 @@ "languageVersion": "3.4" } ], - "generated": "2025-01-26T19:40:32.652548Z", + "generated": "2025-01-27T19:16:12.456906Z", "generator": "pub", "generatorVersion": "3.5.3", "flutterRoot": "file:///Users/apple/Documents/development/flutter", diff --git a/.dart_tool/package_config_subset b/.dart_tool/package_config_subset index 3cb955b..1713f9f 100644 --- a/.dart_tool/package_config_subset +++ b/.dart_tool/package_config_subset @@ -24,16 +24,16 @@ file:///Users/apple/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1/ file:///Users/apple/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1/lib/ cached_network_image 3.0 -file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image-3.4.1/ -file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image-3.4.1/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image-3.3.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image-3.3.1/lib/ cached_network_image_platform_interface 3.0 -file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image_platform_interface-4.1.1/ -file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image_platform_interface-4.1.1/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image_platform_interface-4.0.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image_platform_interface-4.0.0/lib/ cached_network_image_web 3.0 -file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image_web-1.3.1/ -file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image_web-1.3.1/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image_web-1.2.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image_web-1.2.0/lib/ carousel_slider 2.12 file:///Users/apple/.pub-cache/hosted/pub.dev/carousel_slider-5.0.0/ @@ -62,6 +62,10 @@ crypto 3.4 file:///Users/apple/.pub-cache/hosted/pub.dev/crypto-3.0.6/ file:///Users/apple/.pub-cache/hosted/pub.dev/crypto-3.0.6/lib/ +csslib +3.1 +file:///Users/apple/.pub-cache/hosted/pub.dev/csslib-1.0.2/ +file:///Users/apple/.pub-cache/hosted/pub.dev/csslib-1.0.2/lib/ cupertino_icons 3.1 file:///Users/apple/.pub-cache/hosted/pub.dev/cupertino_icons-1.0.8/ @@ -107,13 +111,21 @@ flutter_animate file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_animate-4.5.2/ file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_animate-4.5.2/lib/ flutter_cache_manager -3.0 -file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_cache_manager-3.4.1/ -file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_cache_manager-3.4.1/lib/ +2.17 +file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_cache_manager-3.3.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_cache_manager-3.3.1/lib/ +flutter_google_places +2.12 +file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_google_places-0.3.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_google_places-0.3.0/lib/ flutter_lints 3.1 file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_lints-3.0.2/ file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_lints-3.0.2/lib/ +flutter_plugin_android_lifecycle +3.5 +file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.24/ +file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.24/lib/ flutter_screenutil 2.17 file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_screenutil-5.9.3/ @@ -123,9 +135,9 @@ flutter_shaders file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_shaders-0.1.3/ file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_shaders-0.1.3/lib/ flutter_svg -3.4 -file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_svg-2.0.17/ -file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_svg-2.0.17/lib/ +2.19 +file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_svg-2.0.9/ +file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_svg-2.0.9/lib/ flutter_toggle_tab 3.0 file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_toggle_tab-1.5.1/ @@ -138,6 +150,46 @@ gap 2.12 file:///Users/apple/.pub-cache/hosted/pub.dev/gap-3.0.1/ file:///Users/apple/.pub-cache/hosted/pub.dev/gap-3.0.1/lib/ +geocoding +2.17 +file:///Users/apple/.pub-cache/hosted/pub.dev/geocoding-3.0.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/geocoding-3.0.0/lib/ +geocoding_android +2.17 +file:///Users/apple/.pub-cache/hosted/pub.dev/geocoding_android-3.3.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/geocoding_android-3.3.1/lib/ +geocoding_ios +2.17 +file:///Users/apple/.pub-cache/hosted/pub.dev/geocoding_ios-3.0.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/geocoding_ios-3.0.1/lib/ +geocoding_platform_interface +2.12 +file:///Users/apple/.pub-cache/hosted/pub.dev/geocoding_platform_interface-3.2.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/geocoding_platform_interface-3.2.0/lib/ +geolocator +2.15 +file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator-13.0.2/ +file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator-13.0.2/lib/ +geolocator_android +2.15 +file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_android-4.6.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_android-4.6.1/lib/ +geolocator_apple +2.15 +file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.8+1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.8+1/lib/ +geolocator_platform_interface +2.15 +file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_platform_interface-4.2.4/ +file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_platform_interface-4.2.4/lib/ +geolocator_web +3.4 +file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_web-4.1.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_web-4.1.1/lib/ +geolocator_windows +2.15 +file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_windows-0.2.3/ +file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_windows-0.2.3/lib/ get_it 3.0 file:///Users/apple/.pub-cache/hosted/pub.dev/get_it-8.0.3/ @@ -146,14 +198,50 @@ go_router 3.4 file:///Users/apple/.pub-cache/hosted/pub.dev/go_router-14.7.1/ file:///Users/apple/.pub-cache/hosted/pub.dev/go_router-14.7.1/lib/ +google_api_headers +2.12 +file:///Users/apple/.pub-cache/hosted/pub.dev/google_api_headers-1.6.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/google_api_headers-1.6.0/lib/ google_fonts 2.14 -file:///Users/apple/.pub-cache/hosted/pub.dev/google_fonts-6.2.1/ -file:///Users/apple/.pub-cache/hosted/pub.dev/google_fonts-6.2.1/lib/ -http +file:///Users/apple/.pub-cache/hosted/pub.dev/google_fonts-4.0.4/ +file:///Users/apple/.pub-cache/hosted/pub.dev/google_fonts-4.0.4/lib/ +google_maps 3.4 -file:///Users/apple/.pub-cache/hosted/pub.dev/http-1.3.0/ -file:///Users/apple/.pub-cache/hosted/pub.dev/http-1.3.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps-8.1.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps-8.1.1/lib/ +google_maps_flutter +3.4 +file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter-2.10.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter-2.10.0/lib/ +google_maps_flutter_android +3.5 +file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_android-2.14.12/ +file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_android-2.14.12/lib/ +google_maps_flutter_ios +3.3 +file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_ios-2.13.2/ +file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_ios-2.13.2/lib/ +google_maps_flutter_platform_interface +3.3 +file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_platform_interface-2.9.5/ +file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_platform_interface-2.9.5/lib/ +google_maps_flutter_web +3.3 +file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_web-0.5.10/ +file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_web-0.5.10/lib/ +google_maps_webservice +2.12 +file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_webservice-0.0.20-nullsafety.5/ +file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_webservice-0.0.20-nullsafety.5/lib/ +html +3.2 +file:///Users/apple/.pub-cache/hosted/pub.dev/html-0.15.5/ +file:///Users/apple/.pub-cache/hosted/pub.dev/html-0.15.5/lib/ +http +2.19 +file:///Users/apple/.pub-cache/hosted/pub.dev/http-0.13.6/ +file:///Users/apple/.pub-cache/hosted/pub.dev/http-0.13.6/lib/ http_parser 2.12 file:///Users/apple/.pub-cache/hosted/pub.dev/http_parser-4.0.2/ @@ -162,6 +250,10 @@ intl 3.0 file:///Users/apple/.pub-cache/hosted/pub.dev/intl-0.19.0/ file:///Users/apple/.pub-cache/hosted/pub.dev/intl-0.19.0/lib/ +json_annotation +3.0 +file:///Users/apple/.pub-cache/hosted/pub.dev/json_annotation-4.9.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/json_annotation-4.9.0/lib/ leak_tracker 3.2 file:///Users/apple/.pub-cache/hosted/pub.dev/leak_tracker-10.0.5/ @@ -218,6 +310,14 @@ otp_text_field 2.12 file:///Users/apple/.pub-cache/hosted/pub.dev/otp_text_field-1.1.3/ file:///Users/apple/.pub-cache/hosted/pub.dev/otp_text_field-1.1.3/lib/ +package_info_plus +2.18 +file:///Users/apple/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/lib/ +package_info_plus_platform_interface +2.12 +file:///Users/apple/.pub-cache/hosted/pub.dev/package_info_plus_platform_interface-2.0.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/package_info_plus_platform_interface-2.0.1/lib/ path 3.0 file:///Users/apple/.pub-cache/hosted/pub.dev/path-1.9.0/ @@ -280,8 +380,12 @@ file:///Users/apple/.pub-cache/hosted/pub.dev/readmore-3.0.0/ file:///Users/apple/.pub-cache/hosted/pub.dev/readmore-3.0.0/lib/ rxdart 2.12 -file:///Users/apple/.pub-cache/hosted/pub.dev/rxdart-0.28.0/ -file:///Users/apple/.pub-cache/hosted/pub.dev/rxdart-0.28.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/rxdart-0.26.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/rxdart-0.26.0/lib/ +sanitize_html +2.12 +file:///Users/apple/.pub-cache/hosted/pub.dev/sanitize_html-2.1.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/sanitize_html-2.1.0/lib/ shared_preferences 3.5 file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences-2.4.0/ @@ -346,6 +450,10 @@ stream_channel 2.19 file:///Users/apple/.pub-cache/hosted/pub.dev/stream_channel-2.1.2/ file:///Users/apple/.pub-cache/hosted/pub.dev/stream_channel-2.1.2/lib/ +stream_transform +3.1 +file:///Users/apple/.pub-cache/hosted/pub.dev/stream_transform-2.1.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/stream_transform-2.1.1/lib/ string_scanner 2.18 file:///Users/apple/.pub-cache/hosted/pub.dev/string_scanner-1.2.0/ @@ -371,17 +479,17 @@ uuid file:///Users/apple/.pub-cache/hosted/pub.dev/uuid-4.5.1/ file:///Users/apple/.pub-cache/hosted/pub.dev/uuid-4.5.1/lib/ vector_graphics -3.4 -file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics-1.1.15/ -file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics-1.1.15/lib/ +2.17 +file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics-1.1.10+1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics-1.1.10+1/lib/ vector_graphics_codec -3.4 -file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics_codec-1.1.13/ -file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics_codec-1.1.13/lib/ +2.17 +file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics_codec-1.1.10+1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics_codec-1.1.10+1/lib/ vector_graphics_compiler -3.4 -file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics_compiler-1.1.16/ -file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics_compiler-1.1.16/lib/ +2.19 +file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics_compiler-1.1.10+1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics_compiler-1.1.10+1/lib/ vector_math 2.14 file:///Users/apple/.pub-cache/hosted/pub.dev/vector_math-2.1.4/ @@ -394,6 +502,10 @@ web 3.4 file:///Users/apple/.pub-cache/hosted/pub.dev/web-1.1.0/ file:///Users/apple/.pub-cache/hosted/pub.dev/web-1.1.0/lib/ +win32 +3.5 +file:///Users/apple/.pub-cache/hosted/pub.dev/win32-5.10.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/win32-5.10.1/lib/ xdg_directories 3.3 file:///Users/apple/.pub-cache/hosted/pub.dev/xdg_directories-1.1.0/ diff --git a/.flutter-plugins b/.flutter-plugins index 88715b1..bf52697 100644 --- a/.flutter-plugins +++ b/.flutter-plugins @@ -1,5 +1,20 @@ # This is a generated file; do not edit or check into version control. connectivity_plus=/Users/apple/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/ +flutter_plugin_android_lifecycle=/Users/apple/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.24/ +geocoding=/Users/apple/.pub-cache/hosted/pub.dev/geocoding-3.0.0/ +geocoding_android=/Users/apple/.pub-cache/hosted/pub.dev/geocoding_android-3.3.1/ +geocoding_ios=/Users/apple/.pub-cache/hosted/pub.dev/geocoding_ios-3.0.1/ +geolocator=/Users/apple/.pub-cache/hosted/pub.dev/geolocator-13.0.2/ +geolocator_android=/Users/apple/.pub-cache/hosted/pub.dev/geolocator_android-4.6.1/ +geolocator_apple=/Users/apple/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.8+1/ +geolocator_web=/Users/apple/.pub-cache/hosted/pub.dev/geolocator_web-4.1.1/ +geolocator_windows=/Users/apple/.pub-cache/hosted/pub.dev/geolocator_windows-0.2.3/ +google_api_headers=/Users/apple/.pub-cache/hosted/pub.dev/google_api_headers-1.6.0/ +google_maps_flutter=/Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter-2.10.0/ +google_maps_flutter_android=/Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_android-2.14.12/ +google_maps_flutter_ios=/Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_ios-2.13.2/ +google_maps_flutter_web=/Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_web-0.5.10/ +package_info_plus=/Users/apple/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/ path_provider=/Users/apple/.pub-cache/hosted/pub.dev/path_provider-2.1.5/ path_provider_android=/Users/apple/.pub-cache/hosted/pub.dev/path_provider_android-2.2.15/ path_provider_foundation=/Users/apple/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.1/ diff --git a/.flutter-plugins-dependencies b/.flutter-plugins-dependencies index 304658a..93165da 100644 --- a/.flutter-plugins-dependencies +++ b/.flutter-plugins-dependencies @@ -1 +1 @@ -{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"connectivity_plus","path":"/Users/apple/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"/Users/apple/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.1/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"shared_preferences_foundation","path":"/Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"sqflite_darwin","path":"/Users/apple/.pub-cache/hosted/pub.dev/sqflite_darwin-2.4.1+1/","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"android":[{"name":"connectivity_plus","path":"/Users/apple/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/","native_build":true,"dependencies":[]},{"name":"path_provider_android","path":"/Users/apple/.pub-cache/hosted/pub.dev/path_provider_android-2.2.15/","native_build":true,"dependencies":[]},{"name":"shared_preferences_android","path":"/Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_android-2.4.3/","native_build":true,"dependencies":[]},{"name":"sqflite_android","path":"/Users/apple/.pub-cache/hosted/pub.dev/sqflite_android-2.4.0/","native_build":true,"dependencies":[]}],"macos":[{"name":"connectivity_plus","path":"/Users/apple/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"/Users/apple/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.1/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"shared_preferences_foundation","path":"/Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"sqflite_darwin","path":"/Users/apple/.pub-cache/hosted/pub.dev/sqflite_darwin-2.4.1+1/","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"linux":[{"name":"connectivity_plus","path":"/Users/apple/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/","native_build":false,"dependencies":[]},{"name":"path_provider_linux","path":"/Users/apple/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/","native_build":false,"dependencies":[]},{"name":"shared_preferences_linux","path":"/Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/","native_build":false,"dependencies":["path_provider_linux"]}],"windows":[{"name":"connectivity_plus","path":"/Users/apple/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/","native_build":true,"dependencies":[]},{"name":"path_provider_windows","path":"/Users/apple/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/","native_build":false,"dependencies":[]},{"name":"shared_preferences_windows","path":"/Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/","native_build":false,"dependencies":["path_provider_windows"]}],"web":[{"name":"connectivity_plus","path":"/Users/apple/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/","dependencies":[]},{"name":"shared_preferences_web","path":"/Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.2/","dependencies":[]}]},"dependencyGraph":[{"name":"connectivity_plus","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_android","shared_preferences_foundation","shared_preferences_linux","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_android","dependencies":[]},{"name":"shared_preferences_foundation","dependencies":[]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]},{"name":"sqflite","dependencies":["sqflite_android","sqflite_darwin"]},{"name":"sqflite_android","dependencies":[]},{"name":"sqflite_darwin","dependencies":[]}],"date_created":"2025-01-27 01:10:32.751294","version":"3.24.3","swift_package_manager_enabled":false} \ No newline at end of file +{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"connectivity_plus","path":"/Users/apple/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"geocoding_ios","path":"/Users/apple/.pub-cache/hosted/pub.dev/geocoding_ios-3.0.1/","native_build":true,"dependencies":[]},{"name":"geolocator_apple","path":"/Users/apple/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.8+1/","native_build":true,"dependencies":[]},{"name":"google_maps_flutter_ios","path":"/Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_ios-2.13.2/","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"/Users/apple/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"/Users/apple/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.1/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"shared_preferences_foundation","path":"/Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"sqflite_darwin","path":"/Users/apple/.pub-cache/hosted/pub.dev/sqflite_darwin-2.4.1+1/","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"android":[{"name":"connectivity_plus","path":"/Users/apple/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/","native_build":true,"dependencies":[]},{"name":"flutter_plugin_android_lifecycle","path":"/Users/apple/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.24/","native_build":true,"dependencies":[]},{"name":"geocoding_android","path":"/Users/apple/.pub-cache/hosted/pub.dev/geocoding_android-3.3.1/","native_build":true,"dependencies":[]},{"name":"geolocator_android","path":"/Users/apple/.pub-cache/hosted/pub.dev/geolocator_android-4.6.1/","native_build":true,"dependencies":[]},{"name":"google_api_headers","path":"/Users/apple/.pub-cache/hosted/pub.dev/google_api_headers-1.6.0/","native_build":true,"dependencies":["package_info_plus"]},{"name":"google_maps_flutter_android","path":"/Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_android-2.14.12/","native_build":true,"dependencies":["flutter_plugin_android_lifecycle"]},{"name":"package_info_plus","path":"/Users/apple/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":true,"dependencies":[]},{"name":"path_provider_android","path":"/Users/apple/.pub-cache/hosted/pub.dev/path_provider_android-2.2.15/","native_build":true,"dependencies":[]},{"name":"shared_preferences_android","path":"/Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_android-2.4.3/","native_build":true,"dependencies":[]},{"name":"sqflite_android","path":"/Users/apple/.pub-cache/hosted/pub.dev/sqflite_android-2.4.0/","native_build":true,"dependencies":[]}],"macos":[{"name":"connectivity_plus","path":"/Users/apple/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"geolocator_apple","path":"/Users/apple/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.8+1/","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"/Users/apple/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"/Users/apple/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.1/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"shared_preferences_foundation","path":"/Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"sqflite_darwin","path":"/Users/apple/.pub-cache/hosted/pub.dev/sqflite_darwin-2.4.1+1/","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"linux":[{"name":"connectivity_plus","path":"/Users/apple/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/","native_build":false,"dependencies":[]},{"name":"package_info_plus","path":"/Users/apple/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":false,"dependencies":[]},{"name":"path_provider_linux","path":"/Users/apple/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/","native_build":false,"dependencies":[]},{"name":"shared_preferences_linux","path":"/Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/","native_build":false,"dependencies":["path_provider_linux"]}],"windows":[{"name":"connectivity_plus","path":"/Users/apple/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/","native_build":true,"dependencies":[]},{"name":"geolocator_windows","path":"/Users/apple/.pub-cache/hosted/pub.dev/geolocator_windows-0.2.3/","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"/Users/apple/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":false,"dependencies":[]},{"name":"path_provider_windows","path":"/Users/apple/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/","native_build":false,"dependencies":[]},{"name":"shared_preferences_windows","path":"/Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/","native_build":false,"dependencies":["path_provider_windows"]}],"web":[{"name":"connectivity_plus","path":"/Users/apple/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/","dependencies":[]},{"name":"geolocator_web","path":"/Users/apple/.pub-cache/hosted/pub.dev/geolocator_web-4.1.1/","dependencies":[]},{"name":"google_maps_flutter_web","path":"/Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_web-0.5.10/","dependencies":[]},{"name":"package_info_plus","path":"/Users/apple/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","dependencies":[]},{"name":"shared_preferences_web","path":"/Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.2/","dependencies":[]}]},"dependencyGraph":[{"name":"connectivity_plus","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"geocoding","dependencies":["geocoding_android","geocoding_ios"]},{"name":"geocoding_android","dependencies":[]},{"name":"geocoding_ios","dependencies":[]},{"name":"geolocator","dependencies":["geolocator_android","geolocator_apple","geolocator_web","geolocator_windows"]},{"name":"geolocator_android","dependencies":[]},{"name":"geolocator_apple","dependencies":[]},{"name":"geolocator_web","dependencies":[]},{"name":"geolocator_windows","dependencies":[]},{"name":"google_api_headers","dependencies":["package_info_plus"]},{"name":"google_maps_flutter","dependencies":["google_maps_flutter_android","google_maps_flutter_ios","google_maps_flutter_web"]},{"name":"google_maps_flutter_android","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"google_maps_flutter_ios","dependencies":[]},{"name":"google_maps_flutter_web","dependencies":[]},{"name":"package_info_plus","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_android","shared_preferences_foundation","shared_preferences_linux","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_android","dependencies":[]},{"name":"shared_preferences_foundation","dependencies":[]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]},{"name":"sqflite","dependencies":["sqflite_android","sqflite_darwin"]},{"name":"sqflite_android","dependencies":[]},{"name":"sqflite_darwin","dependencies":[]}],"date_created":"2025-01-28 00:46:12.574440","version":"3.24.3","swift_package_manager_enabled":false} \ No newline at end of file diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index c859262..6741347 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -4,7 +4,13 @@ > + + + + + @@ -25,11 +31,17 @@ android:name="io.flutter.embedding.android.NormalTheme" android:resource="@style/NormalTheme" /> + + + + + _MapScreenState(); +// // } + +// // class _MapScreenState extends State { +// // late GoogleMapController mapController; +// // LatLng _selectedLocation = LatLng(20.5937, 78.9629); // Default: India +// // String _address = "Select a location"; +// // String _pincode = ""; + +// // @override +// // void initState() { +// // super.initState(); +// // _determinePosition(); +// // } + +// // // Get current location +// // Future _determinePosition() async { +// // LocationPermission permission = await Geolocator.requestPermission(); +// // if (permission == LocationPermission.denied) { +// // return; +// // } +// // Position position = await Geolocator.getCurrentPosition(); +// // setState(() { +// // _selectedLocation = LatLng(position.latitude, position.longitude); +// // }); +// // _getAddressFromLatLng(position.latitude, position.longitude); +// // } + +// // // Get Address from LatLng +// // Future _getAddressFromLatLng(double lat, double lng) async { +// // try { +// // List placemarks = await placemarkFromCoordinates(lat, lng); +// // Placemark place = placemarks[0]; +// // setState(() { +// // _address = +// // "${place.street}, ${place.locality}, ${place.administrativeArea}"; +// // _pincode = place.postalCode ?? ""; +// // }); +// // } catch (e) { +// // print(e); +// // } +// // } + +// // // On map tapped +// // void _onMapTapped(LatLng tappedPoint) +// // { +// // setState(() +// // { +// // _selectedLocation = tappedPoint; +// // }); +// // _getAddressFromLatLng(tappedPoint.latitude, tappedPoint.longitude); +// // } + +// // @override +// // Widget build(BuildContext context) { +// // return Scaffold( +// // appBar: AppBar(title: Text("Pick Location")), +// // body: Column( +// // children: [ +// // Expanded( +// // child: GoogleMap( +// // initialCameraPosition: CameraPosition( +// // target: _selectedLocation, +// // zoom: 5, +// // ), +// // onMapCreated: (controller) { +// // mapController = controller; +// // }, +// // markers: { +// // Marker( +// // markerId: MarkerId("selectedLocation"), +// // position: _selectedLocation, +// // ) +// // }, +// // onTap: _onMapTapped, +// // ), +// // ), +// // Container( +// // padding: EdgeInsets.all(16), +// // decoration: BoxDecoration( +// // color: Colors.white, +// // boxShadow: [BoxShadow(color: Colors.black12, blurRadius: 10)], +// // ), +// // child: Column( +// // crossAxisAlignment: CrossAxisAlignment.start, +// // children: [ +// // Text("Selected Address:", +// // style: TextStyle(fontWeight: FontWeight.bold)), +// // SizedBox(height: 5), +// // Text(_address, style: TextStyle(fontSize: 16)), +// // SizedBox(height: 10), +// // TextField( +// // decoration: InputDecoration(labelText: "Enter Pincode"), +// // onChanged: (value) { +// // setState(() +// // { +// // _pincode = value; +// // }); +// // }, +// // ), +// // SizedBox(height: 10), +// // ElevatedButton( +// // onPressed: () +// // { +// // Navigator.pop(context, +// // { +// // "location": _selectedLocation, +// // "address": _address, +// // "pincode": _pincode +// // }); +// // }, +// // child: Text("Confirm Location"), +// // ), +// // ], +// // ), +// // ), +// // ], +// // ), +// // ); +// // } +// // } +import 'package:flutter/material.dart'; +import 'package:google_maps_flutter/google_maps_flutter.dart'; +import 'package:geolocator/geolocator.dart'; +import 'package:geocoding/geocoding.dart'; + +class MapScreen extends StatefulWidget { + @override + _MapScreenState createState() => _MapScreenState(); +} + +class _MapScreenState extends State { + late GoogleMapController mapController; + LatLng _selectedLocation = LatLng(20.5937, 78.9629); // Default: India + String _address = "Fetching current location..."; + String _pincode = ""; + TextEditingController _pincodeController = TextEditingController(); + + @override + void initState() { + super.initState(); + _determinePosition(); + } + + // Get current location + Future _determinePosition() async { + bool serviceEnabled = await Geolocator.isLocationServiceEnabled(); + if (!serviceEnabled) { + return; + } + + LocationPermission permission = await Geolocator.requestPermission(); + if (permission == LocationPermission.denied) { + return; + } + + Position position = await Geolocator.getCurrentPosition( + desiredAccuracy: LocationAccuracy.low, + ); + LatLng currentLatLng = LatLng(position.latitude, position.longitude); + + setState(() { + _selectedLocation = currentLatLng; + }); + + _getAddressFromLatLng(position.latitude, position.longitude); + } + + // Get Address from LatLng + Future _getAddressFromLatLng(double lat, double lng) async { + try { + List placemarks = await placemarkFromCoordinates(lat, lng); + Placemark place = placemarks.first; + setState(() { + _address = + "${place.street}, ${place.locality}, ${place.administrativeArea}"; + _pincode = place.postalCode ?? ""; + _pincodeController.text = _pincode; + + print( + "jhsjhdfjdsgf ${place.street}, ${place.locality}, ${place.administrativeArea} ${place.postalCode} ${place.subLocality} ${place.name} ${place.subAdministrativeArea}"); + }); + } catch (e) { + print(e); + } + } + + // On map tapped + void _onMapTapped(LatLng tappedPoint) { + setState(() { + _selectedLocation = tappedPoint; + }); + _getAddressFromLatLng(tappedPoint.latitude, tappedPoint.longitude); + } + + // Update location based on entered pincode + Future _updateLocationFromPincode(String enteredPincode) async { + if (enteredPincode.isEmpty) return; + + try { + List locations = await locationFromAddress(enteredPincode); + if (locations.isNotEmpty) { + Location location = locations.first; + LatLng newLatLng = LatLng(location.latitude, location.longitude); + + setState(() { + _selectedLocation = newLatLng; + }); + + _getAddressFromLatLng(location.latitude, location.longitude); + mapController.animateCamera(CameraUpdate.newLatLng(newLatLng)); + } + } catch (e) { + print("Error fetching location from pincode: $e"); + } + } + + @override + Widget build(BuildContext context) { + return Scaffold( + appBar: AppBar(title: Text("Pick Location")), + body: Column( + children: [ + Expanded( + child: GoogleMap( + initialCameraPosition: CameraPosition( + target: _selectedLocation, + zoom: 14, + ), + onMapCreated: (controller) { + mapController = controller; + }, + markers: { + Marker( + markerId: MarkerId("selectedLocation"), + position: _selectedLocation, + ) + }, + onTap: _onMapTapped, + ), + ), + Container( + padding: EdgeInsets.all(16), + decoration: BoxDecoration( + color: Colors.white, + boxShadow: [BoxShadow(color: Colors.black12, blurRadius: 10)], + ), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text("Selected Address:", + style: TextStyle(fontWeight: FontWeight.bold)), + SizedBox(height: 5), + Text(_address, style: TextStyle(fontSize: 16)), + SizedBox(height: 10), + TextField( + controller: _pincodeController, + keyboardType: TextInputType.number, + decoration: InputDecoration( + labelText: "Enter Pincode", + border: OutlineInputBorder(), + ), + onChanged: (value) { + setState(() { + _pincode = value; + }); + }, + onSubmitted: + _updateLocationFromPincode, // Auto-update on enter + ), + SizedBox(height: 10), + ElevatedButton( + onPressed: () { + Navigator.pop(context, { + "location": _selectedLocation, + "address": _address, + "pincode": _pincode + }); + }, + child: Text("Confirm Location"), + ), + ], + ), + ), + ], + ), + ); + } +} + + + + + + +// import 'dart:convert'; +// import 'package:flutter/material.dart'; +// import 'package:geolocator/geolocator.dart'; +// import 'package:http/http.dart' as http; + +// const String googleApiKey = "AIzaSyAi3_Dls63iGs7Nccgdm-4FkS0rhT03-4U"; // Replace with your API key + +// class LocationScreen extends StatefulWidget { +// @override +// _LocationScreenState createState() => _LocationScreenState(); +// } + +// class _LocationScreenState extends State { +// String _address = "Fetching location..."; +// String _roadName = ""; +// String _colony = ""; +// String _buildingName = ""; + +// @override +// void initState() { +// super.initState(); +// _fetchCurrentLocation(); +// } + +// // Fetch Current Location +// Future _fetchCurrentLocation() async { +// try { +// Position position = await Geolocator.getCurrentPosition( +// desiredAccuracy: LocationAccuracy.bestForNavigation, // High Accuracy +// ); +// _getAddressFromLatLng(position.latitude, position.longitude); +// } catch (e) { +// print("Error fetching location: $e"); +// setState(() { +// _address = "Failed to get location."; +// }); +// } +// } + +// // Get Address from Latitude and Longitude +// Future _getAddressFromLatLng(double lat, double lng) async { +// final String url = +// "https://maps.googleapis.com/maps/api/geocode/json?latlng=$lat,$lng&key=$googleApiKey"; + +// try { +// final response = await http.get(Uri.parse(url)); + +// if (response.statusCode == 200) { +// final data = json.decode(response.body); +// if (data["status"] == "OK") { +// var result = data["results"][0]; // First result is most accurate + +// String formattedAddress = result["formatted_address"]; +// List components = result["address_components"]; + +// String roadName = ""; +// String colony = ""; +// String buildingName = ""; + +// for (var component in components) { +// List types = component["types"]; +// if (types.contains("route")) { +// roadName = component["long_name"]; // Road Name +// } else if (types.contains("sublocality_level_1") || types.contains("locality")) { +// colony = component["long_name"]; // Colony Name +// } else if (types.contains("premise") || types.contains("street_number")) { +// buildingName = component["long_name"]; // Building Name +// } +// } + +// setState(() { +// _address = formattedAddress; +// _roadName = roadName; +// _colony = colony; +// _buildingName = buildingName; +// }); + +// print("Full Address: $formattedAddress"); +// print("Road Name: $roadName"); +// print("Colony: $colony"); +// print("Building Name: $buildingName"); +// } else { +// setState(() { +// _address = "No address found"; +// }); +// } +// } else { +// setState(() { +// _address = "Failed to fetch address"; +// }); +// } +// } catch (e) { +// print("Error fetching address: $e"); +// setState(() { +// _address = "Error fetching address"; +// }); +// } +// } + +// @override +// Widget build(BuildContext context) { +// return Scaffold( +// appBar: AppBar(title: Text("Location Details")), +// body: Padding( +// padding: const EdgeInsets.all(16.0), +// child: Column( +// crossAxisAlignment: CrossAxisAlignment.start, +// children: [ +// Text("Full Address:", style: TextStyle(fontWeight: FontWeight.bold)), +// Text(_address, style: TextStyle(fontSize: 16)), +// SizedBox(height: 10), + +// Text("Road Name:", style: TextStyle(fontWeight: FontWeight.bold)), +// Text(_roadName, style: TextStyle(fontSize: 16)), +// SizedBox(height: 10), + +// Text("Colony:", style: TextStyle(fontWeight: FontWeight.bold)), +// Text(_colony, style: TextStyle(fontSize: 16)), +// SizedBox(height: 10), + +// Text("Building Name:", style: TextStyle(fontWeight: FontWeight.bold)), +// Text(_buildingName, style: TextStyle(fontSize: 16)), +// SizedBox(height: 20), + +// ElevatedButton( +// onPressed: _fetchCurrentLocation, +// child: Text("Refresh Location"), +// ), +// ], +// ), +// ), +// ); +// } +// } diff --git a/lib/src/ui/mapscreen/map_screen.dart b/lib/src/ui/mapscreen/map_screen.dart index 5064e65..ff82739 100644 --- a/lib/src/ui/mapscreen/map_screen.dart +++ b/lib/src/ui/mapscreen/map_screen.dart @@ -1,177 +1,177 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_svg/flutter_svg.dart'; -import 'package:grocery_app/utils/constants/assets_constant.dart'; -import 'package:grocery_app/utils/constants/color_constant.dart'; -import 'package:grocery_app/utils/extensions/uicontext.dart'; -import 'package:material_design_icons_flutter/material_design_icons_flutter.dart'; +// import 'package:flutter/material.dart'; +// import 'package:flutter_svg/flutter_svg.dart'; +// import 'package:grocery_app/utils/constants/assets_constant.dart'; +// import 'package:grocery_app/utils/constants/color_constant.dart'; +// import 'package:grocery_app/utils/extensions/uicontext.dart'; +// import 'package:material_design_icons_flutter/material_design_icons_flutter.dart'; -class MapScreen extends StatefulWidget { - const MapScreen({super.key}); +// class MapScreen extends StatefulWidget { +// const MapScreen({super.key}); - @override - State createState() => _MapScreenState(); -} +// @override +// State createState() => _MapScreenState(); +// } -class _MapScreenState extends State { - final cSearch = TextEditingController(); +// class _MapScreenState extends State { +// final cSearch = TextEditingController(); - @override - Widget build(BuildContext context) { - return Scaffold( - appBar: AppBar( - centerTitle: true, - leading: Center( - child: SizedBox( - height: 20, - width: 20, - child: InkWell( - onTap: () { - Navigator.of(context).pop(); - }, - child: SvgPicture.asset( - APPASSETS.back, - height: 20, - width: 20, - ) - ), - ), - ), - title: const Text( - "Confirm Delivery Location", - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w700, - ), - ), - ), - body: Stack( - children: [ - Container( - color: Colors.grey.withOpacity(0.4), - child: const Center( - child: Text("Map"), - ), - ), - Positioned( - top: 15, - left: 15, - right: 15, - child: Container( - height: 50, - width: MediaQuery.sizeOf(context).width, - decoration: BoxDecoration( - color: Colors.white, - borderRadius: BorderRadius.circular(5), - ), - child: TextFormField( - controller: cSearch, - onChanged: (c) { - setState(() {}); - }, - decoration: InputDecoration( - border: InputBorder.none, - fillColor: Colors.transparent, - prefixIcon: Icon(MdiIcons.magnify), - hintText: 'Search', - hintStyle: context.customRegular(APPCOLOR.grey666666, 18), - isCollapsed: true, - contentPadding: const EdgeInsets.symmetric(vertical: 12, horizontal: 10), - ), - ), - ), - ) - ], - ), - floatingActionButton: Padding( - padding: const EdgeInsets.only(bottom: 80), - child: FloatingActionButton( - backgroundColor: Colors.transparent, - elevation: 0, - child: Container( - decoration: BoxDecoration( - shape: BoxShape.circle, - color: APPCOLOR.lightGreen, - ), - child: Center( - child: Icon( - MdiIcons.crosshairsGps, - color: Colors.white, - ), - ), - ), - onPressed: () {}, - ), - ), - bottomSheet: Container( - height: 205, - decoration: const BoxDecoration(color: Colors.white, borderRadius: BorderRadius.only(topLeft: Radius.circular(15), topRight: Radius.circular(15))), - width: MediaQuery.of(context).size.width, - child: Padding( - padding: const EdgeInsets.all(15), - child: Column( - mainAxisAlignment: MainAxisAlignment.start, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Row( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - Container( - height: 2, - width: 50, - color: Colors.grey.withOpacity(0.5), - ), - ], - ), - const SizedBox( - height: 15, - ), - Text( - "Select Location", - style: context.customExtraBold(Colors.black, 18), - ), - const SizedBox( - height: 20, - ), - const Text("4517 wasington Ave, wasington, Manchester, Kettucy, 369525"), - const SizedBox( - height: 20, - ), - Row( - children: [ - Expanded( - child: InkWell( - onTap: () { - Navigator.of(context).push(MaterialPageRoute( - builder: (context) { - return const MapScreen(); - }, - )); - }, - child: Container( - height: 50, - decoration: BoxDecoration(color: APPCOLOR.lightGreen, borderRadius: BorderRadius.circular(10)), - child: Row( - mainAxisAlignment: MainAxisAlignment.center, - crossAxisAlignment: CrossAxisAlignment.center, - children: [ - const Icon( - Icons.add, - color: Colors.white, - ), - Text( - "Add New Address", - style: context.customMedium(Colors.white, 16), - ), - ], - ), - ), - )), - ], - ), - ], - ), - ), - ), - ); - } -} +// @override +// Widget build(BuildContext context) { +// return Scaffold( +// appBar: AppBar( +// centerTitle: true, +// leading: Center( +// child: SizedBox( +// height: 20, +// width: 20, +// child: InkWell( +// onTap: () { +// Navigator.of(context).pop(); +// }, +// child: SvgPicture.asset( +// APPASSETS.back, +// height: 20, +// width: 20, +// ) +// ), +// ), +// ), +// title: const Text( +// "Confirm Delivery Location", +// style: TextStyle( +// fontSize: 20, +// fontWeight: FontWeight.w700, +// ), +// ), +// ), +// body: Stack( +// children: [ +// Container( +// color: Colors.grey.withOpacity(0.4), +// child: const Center( +// child: Text("Map"), +// ), +// ), +// Positioned( +// top: 15, +// left: 15, +// right: 15, +// child: Container( +// height: 50, +// width: MediaQuery.sizeOf(context).width, +// decoration: BoxDecoration( +// color: Colors.white, +// borderRadius: BorderRadius.circular(5), +// ), +// child: TextFormField( +// controller: cSearch, +// onChanged: (c) { +// setState(() {}); +// }, +// decoration: InputDecoration( +// border: InputBorder.none, +// fillColor: Colors.transparent, +// prefixIcon: Icon(MdiIcons.magnify), +// hintText: 'Search', +// hintStyle: context.customRegular(APPCOLOR.grey666666, 18), +// isCollapsed: true, +// contentPadding: const EdgeInsets.symmetric(vertical: 12, horizontal: 10), +// ), +// ), +// ), +// ) +// ], +// ), +// floatingActionButton: Padding( +// padding: const EdgeInsets.only(bottom: 80), +// child: FloatingActionButton( +// backgroundColor: Colors.transparent, +// elevation: 0, +// child: Container( +// decoration: BoxDecoration( +// shape: BoxShape.circle, +// color: APPCOLOR.lightGreen, +// ), +// child: Center( +// child: Icon( +// MdiIcons.crosshairsGps, +// color: Colors.white, +// ), +// ), +// ), +// onPressed: () {}, +// ), +// ), +// bottomSheet: Container( +// height: 205, +// decoration: const BoxDecoration(color: Colors.white, borderRadius: BorderRadius.only(topLeft: Radius.circular(15), topRight: Radius.circular(15))), +// width: MediaQuery.of(context).size.width, +// child: Padding( +// padding: const EdgeInsets.all(15), +// child: Column( +// mainAxisAlignment: MainAxisAlignment.start, +// crossAxisAlignment: CrossAxisAlignment.start, +// children: [ +// Row( +// mainAxisAlignment: MainAxisAlignment.center, +// children: [ +// Container( +// height: 2, +// width: 50, +// color: Colors.grey.withOpacity(0.5), +// ), +// ], +// ), +// const SizedBox( +// height: 15, +// ), +// Text( +// "Select Location", +// style: context.customExtraBold(Colors.black, 18), +// ), +// const SizedBox( +// height: 20, +// ), +// const Text("4517 wasington Ave, wasington, Manchester, Kettucy, 369525"), +// const SizedBox( +// height: 20, +// ), +// Row( +// children: [ +// Expanded( +// child: InkWell( +// onTap: () { +// Navigator.of(context).push(MaterialPageRoute( +// builder: (context) { +// return const MapScreen(); +// }, +// )); +// }, +// child: Container( +// height: 50, +// decoration: BoxDecoration(color: APPCOLOR.lightGreen, borderRadius: BorderRadius.circular(10)), +// child: Row( +// mainAxisAlignment: MainAxisAlignment.center, +// crossAxisAlignment: CrossAxisAlignment.center, +// children: [ +// const Icon( +// Icons.add, +// color: Colors.white, +// ), +// Text( +// "Add New Address", +// style: context.customMedium(Colors.white, 16), +// ), +// ], +// ), +// ), +// )), +// ], +// ), +// ], +// ), +// ), +// ), +// ); +// } +// } diff --git a/lib/src/ui/onboarding/on_boarding_screen.dart b/lib/src/ui/onboarding/on_boarding_screen.dart index cfe1337..162caf8 100644 --- a/lib/src/ui/onboarding/on_boarding_screen.dart +++ b/lib/src/ui/onboarding/on_boarding_screen.dart @@ -27,7 +27,7 @@ class _OnBoardingScreenState extends State { skipFunction() { SharedPrefUtils.setFreshInstall(isFresh: false).then( - (value) => context.clearAndPush(routePath: MyRoutes.LOGIN, args: 0), + (value) => context.clearAndPush(routePath: MyRoutes.BOTTOMNAV, args: 0), ); // Navigator.pushReplacement(context, MaterialPageRoute( diff --git a/lib/src/ui/profilepage/profile_screen.dart b/lib/src/ui/profilepage/profile_screen.dart index d41afba..3db788a 100644 --- a/lib/src/ui/profilepage/profile_screen.dart +++ b/lib/src/ui/profilepage/profile_screen.dart @@ -3,6 +3,8 @@ import 'package:grocery_app/src/common_widget/network_image.dart'; import 'package:grocery_app/src/logic/provider/home_provider.dart'; import 'package:grocery_app/src/ui/card_checkout/card_checkout_screen.dart'; import 'package:grocery_app/src/ui/edit_profile/edit_profile_screen.dart'; +import 'package:grocery_app/src/ui/map/google_map.dart'; +import 'package:grocery_app/src/ui/mapscreen/map_screen.dart'; import 'package:grocery_app/src/ui/message/message_screen.dart'; import 'package:grocery_app/src/ui/notification/notification_screen.dart'; import 'package:grocery_app/src/ui/rating_review/rating_review_screen.dart'; @@ -140,7 +142,6 @@ class _ProfileScreenState extends State { }, body: Column( children: [ - Expanded( child: SingleChildScrollView( child: Column( @@ -253,14 +254,24 @@ class _ProfileScreenState extends State { title: const Text('Grocery List'), trailing: Icon(MdiIcons.chevronRight), ), + ListTile( + onTap: () { + Navigator.of(context).push(MaterialPageRoute( + builder: (context) { + return MapScreen(); + }, + )); + }, + leading: Icon(MdiIcons.basketOutline), + title: const Text('Map List'), + trailing: Icon(MdiIcons.chevronRight), + ), ], ), ), ), - InkWell( - onTap: () - { + onTap: () { print("fjnghkjfjghj"); Provider.of(context, listen: false) .customerLogOut(context); diff --git a/macos/Flutter/GeneratedPluginRegistrant.swift b/macos/Flutter/GeneratedPluginRegistrant.swift index 3500c1a..26d0c86 100644 --- a/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/macos/Flutter/GeneratedPluginRegistrant.swift @@ -6,12 +6,16 @@ import FlutterMacOS import Foundation import connectivity_plus +import geolocator_apple +import package_info_plus import path_provider_foundation import shared_preferences_foundation import sqflite_darwin func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { ConnectivityPlusPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlusPlugin")) + GeolocatorPlugin.register(with: registry.registrar(forPlugin: "GeolocatorPlugin")) + FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin")) PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin")) SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin")) diff --git a/pubspec.lock b/pubspec.lock index d5ecfbf..68db0d5 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -53,26 +53,26 @@ packages: dependency: "direct main" description: name: cached_network_image - sha256: "7c1183e361e5c8b0a0f21a28401eecdbde252441106a9816400dd4c2b2424916" + sha256: "28ea9690a8207179c319965c13cd8df184d5ee721ae2ce60f398ced1219cea1f" url: "https://pub.dev" source: hosted - version: "3.4.1" + version: "3.3.1" cached_network_image_platform_interface: dependency: transitive description: name: cached_network_image_platform_interface - sha256: "35814b016e37fbdc91f7ae18c8caf49ba5c88501813f73ce8a07027a395e2829" + sha256: "9e90e78ae72caa874a323d78fa6301b3fb8fa7ea76a8f96dc5b5bf79f283bf2f" url: "https://pub.dev" source: hosted - version: "4.1.1" + version: "4.0.0" cached_network_image_web: dependency: transitive description: name: cached_network_image_web - sha256: "980842f4e8e2535b8dbd3d5ca0b1f0ba66bf61d14cc3a17a9b4788a3685ba062" + sha256: "205d6a9f1862de34b93184f22b9d2d94586b2f05c581d546695e3d8f6a805cd7" url: "https://pub.dev" source: hosted - version: "1.3.1" + version: "1.2.0" carousel_slider: dependency: "direct main" description: @@ -129,6 +129,14 @@ packages: url: "https://pub.dev" source: hosted version: "3.0.6" + csslib: + dependency: transitive + description: + name: csslib + sha256: "09bad715f418841f976c77db72d5398dc1253c21fb9c0c7f0b0b985860b2d58e" + url: "https://pub.dev" + source: hosted + version: "1.0.2" cupertino_icons: dependency: "direct main" description: @@ -226,10 +234,18 @@ packages: dependency: transitive description: name: flutter_cache_manager - sha256: "400b6592f16a4409a7f2bb929a9a7e38c72cceb8ffb99ee57bbf2cb2cecf8386" + sha256: "8207f27539deb83732fdda03e259349046a39a4c767269285f449ade355d54ba" url: "https://pub.dev" source: hosted - version: "3.4.1" + version: "3.3.1" + flutter_google_places: + dependency: "direct main" + description: + name: flutter_google_places + sha256: e9fb23ceacdc7359aa759627550146f7fd3ae6c067d16f39f3c50d8feebf4809 + url: "https://pub.dev" + source: hosted + version: "0.3.0" flutter_lints: dependency: "direct dev" description: @@ -238,6 +254,14 @@ packages: url: "https://pub.dev" source: hosted version: "3.0.2" + flutter_plugin_android_lifecycle: + dependency: transitive + description: + name: flutter_plugin_android_lifecycle + sha256: "615a505aef59b151b46bbeef55b36ce2b6ed299d160c51d84281946f0aa0ce0e" + url: "https://pub.dev" + source: hosted + version: "2.0.24" flutter_screenutil: dependency: "direct main" description: @@ -258,10 +282,10 @@ packages: dependency: "direct main" description: name: flutter_svg - sha256: c200fd79c918a40c5cd50ea0877fa13f81bdaf6f0a5d3dbcc2a13e3285d6aa1b + sha256: d39e7f95621fc84376bc0f7d504f05c3a41488c562f4a8ad410569127507402c url: "https://pub.dev" source: hosted - version: "2.0.17" + version: "2.0.9" flutter_test: dependency: "direct dev" description: flutter @@ -296,6 +320,86 @@ packages: url: "https://pub.dev" source: hosted version: "3.0.1" + geocoding: + dependency: "direct main" + description: + name: geocoding + sha256: d580c801cba9386b4fac5047c4c785a4e19554f46be42f4f5e5b7deacd088a66 + url: "https://pub.dev" + source: hosted + version: "3.0.0" + geocoding_android: + dependency: transitive + description: + name: geocoding_android + sha256: "1b13eca79b11c497c434678fed109c2be020b158cec7512c848c102bc7232603" + url: "https://pub.dev" + source: hosted + version: "3.3.1" + geocoding_ios: + dependency: transitive + description: + name: geocoding_ios + sha256: "94ddba60387501bd1c11e18dca7c5a9e8c645d6e3da9c38b9762434941870c24" + url: "https://pub.dev" + source: hosted + version: "3.0.1" + geocoding_platform_interface: + dependency: transitive + description: + name: geocoding_platform_interface + sha256: "8c2c8226e5c276594c2e18bfe88b19110ed770aeb7c1ab50ede570be8b92229b" + url: "https://pub.dev" + source: hosted + version: "3.2.0" + geolocator: + dependency: "direct main" + description: + name: geolocator + sha256: d2ec66329cab29cb297d51d96c067d457ca519dca8589665fa0b82ebacb7dbe4 + url: "https://pub.dev" + source: hosted + version: "13.0.2" + geolocator_android: + dependency: transitive + description: + name: geolocator_android + sha256: "7aefc530db47d90d0580b552df3242440a10fe60814496a979aa67aa98b1fd47" + url: "https://pub.dev" + source: hosted + version: "4.6.1" + geolocator_apple: + dependency: transitive + description: + name: geolocator_apple + sha256: "6154ea2682563f69fc0125762ed7e91e7ed85d0b9776595653be33918e064807" + url: "https://pub.dev" + source: hosted + version: "2.3.8+1" + geolocator_platform_interface: + dependency: transitive + description: + name: geolocator_platform_interface + sha256: "386ce3d9cce47838355000070b1d0b13efb5bc430f8ecda7e9238c8409ace012" + url: "https://pub.dev" + source: hosted + version: "4.2.4" + geolocator_web: + dependency: transitive + description: + name: geolocator_web + sha256: "2ed69328e05cd94e7eb48bb0535f5fc0c0c44d1c4fa1e9737267484d05c29b5e" + url: "https://pub.dev" + source: hosted + version: "4.1.1" + geolocator_windows: + dependency: transitive + description: + name: geolocator_windows + sha256: "53da08937d07c24b0d9952eb57a3b474e29aae2abf9dd717f7e1230995f13f0e" + url: "https://pub.dev" + source: hosted + version: "0.2.3" get_it: dependency: "direct main" description: @@ -312,22 +416,94 @@ packages: url: "https://pub.dev" source: hosted version: "14.7.1" + google_api_headers: + dependency: "direct main" + description: + name: google_api_headers + sha256: b27a55935d5c51cedda8a925f5df8388cc327c94a47fef5a4335e8707e089878 + url: "https://pub.dev" + source: hosted + version: "1.6.0" google_fonts: dependency: "direct main" description: name: google_fonts - sha256: b1ac0fe2832c9cc95e5e88b57d627c5e68c223b9657f4b96e1487aa9098c7b82 + sha256: "6b6f10f0ce3c42f6552d1c70d2c28d764cf22bb487f50f66cca31dcd5194f4d6" url: "https://pub.dev" source: hosted - version: "6.2.1" + version: "4.0.4" + google_maps: + dependency: transitive + description: + name: google_maps + sha256: "4d6e199c561ca06792c964fa24b2bac7197bf4b401c2e1d23e345e5f9939f531" + url: "https://pub.dev" + source: hosted + version: "8.1.1" + google_maps_flutter: + dependency: "direct main" + description: + name: google_maps_flutter + sha256: "209856c8e5571626afba7182cf634b2910069dc567954e76ec3e3fb37f5e9db3" + url: "https://pub.dev" + source: hosted + version: "2.10.0" + google_maps_flutter_android: + dependency: transitive + description: + name: google_maps_flutter_android + sha256: "1b69fbb3ab76e7a7dfcf25e60f32f81ae5d9b88285343eecb5479116d54be869" + url: "https://pub.dev" + source: hosted + version: "2.14.12" + google_maps_flutter_ios: + dependency: transitive + description: + name: google_maps_flutter_ios + sha256: "6f798adb0aa1db5adf551f2e39e24bd06c8c0fbe4de912fb2d9b5b3f48147b02" + url: "https://pub.dev" + source: hosted + version: "2.13.2" + google_maps_flutter_platform_interface: + dependency: transitive + description: + name: google_maps_flutter_platform_interface + sha256: a951981c22d790848efb9f114f81794945bc5c06bc566238a419a92f110af6cb + url: "https://pub.dev" + source: hosted + version: "2.9.5" + google_maps_flutter_web: + dependency: transitive + description: + name: google_maps_flutter_web + sha256: ff39211bd25d7fad125d19f757eba85bd154460907cd4d135e07e3d0f98a4130 + url: "https://pub.dev" + source: hosted + version: "0.5.10" + google_maps_webservice: + dependency: transitive + description: + name: google_maps_webservice + sha256: d0ae4e4508afd74a3f051565261a3cdbae59db29448f9b6e6beb5674545e1eb7 + url: "https://pub.dev" + source: hosted + version: "0.0.20-nullsafety.5" + html: + dependency: transitive + description: + name: html + sha256: "1fc58edeaec4307368c60d59b7e15b9d658b57d7f3125098b6294153c75337ec" + url: "https://pub.dev" + source: hosted + version: "0.15.5" http: dependency: transitive description: name: http - sha256: fe7ab022b76f3034adc518fb6ea04a82387620e19977665ea18d30a1cf43442f + sha256: "5895291c13fa8a3bd82e76d5627f69e0d85ca6a30dcac95c4ea19a5d555879c2" url: "https://pub.dev" source: hosted - version: "1.3.0" + version: "0.13.6" http_parser: dependency: transitive description: @@ -344,6 +520,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.19.0" + json_annotation: + dependency: transitive + description: + name: json_annotation + sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1" + url: "https://pub.dev" + source: hosted + version: "4.9.0" leak_tracker: dependency: transitive description: @@ -456,6 +640,22 @@ packages: url: "https://pub.dev" source: hosted version: "1.1.3" + package_info_plus: + dependency: transitive + description: + name: package_info_plus + sha256: "7e76fad405b3e4016cd39d08f455a4eb5199723cf594cd1b8916d47140d93017" + url: "https://pub.dev" + source: hosted + version: "4.2.0" + package_info_plus_platform_interface: + dependency: transitive + description: + name: package_info_plus_platform_interface + sha256: "9bc8ba46813a4cc42c66ab781470711781940780fd8beddd0c3da62506d3a6c6" + url: "https://pub.dev" + source: hosted + version: "2.0.1" path: dependency: transitive description: @@ -580,10 +780,18 @@ packages: dependency: transitive description: name: rxdart - sha256: "5c3004a4a8dbb94bd4bf5412a4def4acdaa12e12f269737a5751369e12d1a962" + sha256: "2ef8b4e91cb3b55d155e0e34eeae0ac7107974e451495c955ac04ddee8cc21fd" url: "https://pub.dev" source: hosted - version: "0.28.0" + version: "0.26.0" + sanitize_html: + dependency: transitive + description: + name: sanitize_html + sha256: "12669c4a913688a26555323fb9cec373d8f9fbe091f2d01c40c723b33caa8989" + url: "https://pub.dev" + source: hosted + version: "2.1.0" shared_preferences: dependency: "direct main" description: @@ -717,6 +925,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.2" + stream_transform: + dependency: transitive + description: + name: stream_transform + sha256: ad47125e588cfd37a9a7f86c7d6356dde8dfe89d071d293f80ca9e9273a33871 + url: "https://pub.dev" + source: hosted + version: "2.1.1" string_scanner: dependency: transitive description: @@ -769,26 +985,26 @@ packages: dependency: transitive description: name: vector_graphics - sha256: "27d5fefe86fb9aace4a9f8375b56b3c292b64d8c04510df230f849850d912cb7" + sha256: "4ac59808bbfca6da38c99f415ff2d3a5d7ca0a6b4809c71d9cf30fba5daf9752" url: "https://pub.dev" source: hosted - version: "1.1.15" + version: "1.1.10+1" vector_graphics_codec: dependency: transitive description: name: vector_graphics_codec - sha256: "99fd9fbd34d9f9a32efd7b6a6aae14125d8237b10403b422a6a6dfeac2806146" + sha256: f3247e7ab0ec77dc759263e68394990edc608fb2b480b80db8aa86ed09279e33 url: "https://pub.dev" source: hosted - version: "1.1.13" + version: "1.1.10+1" vector_graphics_compiler: dependency: transitive description: name: vector_graphics_compiler - sha256: "1b4b9e706a10294258727674a340ae0d6e64a7231980f9f9a3d12e4b42407aad" + sha256: "18489bdd8850de3dd7ca8a34e0c446f719ec63e2bab2e7a8cc66a9028dd76c5a" url: "https://pub.dev" source: hosted - version: "1.1.16" + version: "1.1.10+1" vector_math: dependency: transitive description: @@ -813,6 +1029,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.1.0" + win32: + dependency: transitive + description: + name: win32 + sha256: daf97c9d80197ed7b619040e86c8ab9a9dad285e7671ee7390f9180cc828a51e + url: "https://pub.dev" + source: hosted + version: "5.10.1" xdg_directories: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 308ac94..a2ad8aa 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -12,18 +12,24 @@ dependencies: sdk: flutter cupertino_icons: ^1.0.6 - google_fonts: ^6.2.1 - flutter_svg: ^2.0.10+1 - material_design_icons_flutter: ^7.0.7296 - intl: ^0.19.0 + google_fonts: + flutter_svg: + material_design_icons_flutter: + intl: otp_text_field: ^1.1.3 - cached_network_image: ^3.4.1 + cached_network_image: carousel_slider: ^5.0.0 dots_indicator: ^3.0.0 readmore: ^3.0.0 flutter_toggle_tab: ^1.4.1 dotted_border: ^2.1.0 go_router: ^14.2.0 + google_maps_flutter: + geolocator: + geocoding: + flutter_google_places: + google_api_headers: + diff --git a/windows/flutter/generated_plugin_registrant.cc b/windows/flutter/generated_plugin_registrant.cc index 8777c93..f7ec5d8 100644 --- a/windows/flutter/generated_plugin_registrant.cc +++ b/windows/flutter/generated_plugin_registrant.cc @@ -7,8 +7,11 @@ #include "generated_plugin_registrant.h" #include +#include void RegisterPlugins(flutter::PluginRegistry* registry) { ConnectivityPlusWindowsPluginRegisterWithRegistrar( registry->GetRegistrarForPlugin("ConnectivityPlusWindowsPlugin")); + GeolocatorWindowsRegisterWithRegistrar( + registry->GetRegistrarForPlugin("GeolocatorWindows")); } diff --git a/windows/flutter/generated_plugins.cmake b/windows/flutter/generated_plugins.cmake index cc1361d..27254a6 100644 --- a/windows/flutter/generated_plugins.cmake +++ b/windows/flutter/generated_plugins.cmake @@ -4,6 +4,7 @@ list(APPEND FLUTTER_PLUGIN_LIST connectivity_plus + geolocator_windows ) list(APPEND FLUTTER_FFI_PLUGIN_LIST