diff --git a/.dart_tool/package_config.json b/.dart_tool/package_config.json index d379606..c74d280 100644 --- a/.dart_tool/package_config.json +++ b/.dart_tool/package_config.json @@ -992,7 +992,7 @@ "languageVersion": "3.4" } ], - "generated": "2025-02-13T05:46:18.147720Z", + "generated": "2025-02-13T11:54:46.039722Z", "generator": "pub", "generatorVersion": "3.4.4", "flutterRoot": "file:///Users/rajeevsingh/Documents/allSoftwares/flutter", diff --git a/.flutter-plugins-dependencies b/.flutter-plugins-dependencies index 4ac4b69..744aff7 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/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.3/","native_build":true,"dependencies":[]},{"name":"flutter_inappwebview_ios","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/","native_build":true,"dependencies":[]},{"name":"fluttertoast","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/fluttertoast-8.2.11/","native_build":true,"dependencies":[]},{"name":"geocoding_ios","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/geocoding_ios-3.0.1/","native_build":true,"dependencies":[]},{"name":"geolocator_apple","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.8+1/","native_build":true,"dependencies":[]},{"name":"google_maps_flutter_ios","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/google_maps_flutter_ios-2.13.2/","native_build":true,"dependencies":[]},{"name":"image_picker_ios","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/image_picker_ios-0.8.12+2/","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"/Users/rajeevsingh/.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/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"sqflite","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/sqflite-2.3.3+1/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"url_launcher_ios","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/url_launcher_ios-6.3.2/","native_build":true,"dependencies":[]}],"android":[{"name":"connectivity_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.3/","native_build":true,"dependencies":[]},{"name":"flutter_inappwebview_android","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_inappwebview_android-1.0.13/","native_build":true,"dependencies":[]},{"name":"flutter_plugin_android_lifecycle","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.22/","native_build":true,"dependencies":[]},{"name":"fluttertoast","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/fluttertoast-8.2.11/","native_build":true,"dependencies":[]},{"name":"geocoding_android","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/geocoding_android-3.3.1/","native_build":true,"dependencies":[]},{"name":"geolocator_android","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/geolocator_android-4.6.1/","native_build":true,"dependencies":[]},{"name":"google_api_headers","path":"/Users/rajeevsingh/.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/rajeevsingh/.pub-cache/hosted/pub.dev/google_maps_flutter_android-2.14.7/","native_build":true,"dependencies":["flutter_plugin_android_lifecycle"]},{"name":"image_picker_android","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/image_picker_android-0.8.12+12/","native_build":true,"dependencies":["flutter_plugin_android_lifecycle"]},{"name":"package_info_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":true,"dependencies":[]},{"name":"path_provider_android","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_android-2.2.10/","native_build":true,"dependencies":[]},{"name":"shared_preferences_android","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_android-2.3.2/","native_build":true,"dependencies":[]},{"name":"sqflite","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/sqflite-2.3.3+1/","native_build":true,"dependencies":[]},{"name":"url_launcher_android","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/url_launcher_android-6.3.9/","native_build":true,"dependencies":[]}],"macos":[{"name":"connectivity_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.3/","native_build":true,"dependencies":[]},{"name":"file_selector_macos","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/file_selector_macos-0.9.4+2/","native_build":true,"dependencies":[]},{"name":"flutter_inappwebview_macos","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_inappwebview_macos-1.0.11/","native_build":true,"dependencies":[]},{"name":"geolocator_apple","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.8+1/","native_build":true,"dependencies":[]},{"name":"image_picker_macos","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/image_picker_macos-0.2.1+2/","native_build":false,"dependencies":["file_selector_macos"]},{"name":"package_info_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"/Users/rajeevsingh/.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/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"sqflite","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/sqflite-2.3.3+1/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"url_launcher_macos","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/url_launcher_macos-3.2.2/","native_build":true,"dependencies":[]}],"linux":[{"name":"connectivity_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.3/","native_build":false,"dependencies":[]},{"name":"file_selector_linux","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/file_selector_linux-0.9.3+2/","native_build":true,"dependencies":[]},{"name":"image_picker_linux","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/image_picker_linux-0.2.1+1/","native_build":false,"dependencies":["file_selector_linux"]},{"name":"package_info_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":false,"dependencies":[]},{"name":"path_provider_linux","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/","native_build":false,"dependencies":[]},{"name":"shared_preferences_linux","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/","native_build":false,"dependencies":["path_provider_linux"]},{"name":"url_launcher_linux","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/url_launcher_linux-3.2.1/","native_build":true,"dependencies":[]}],"windows":[{"name":"connectivity_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.3/","native_build":true,"dependencies":[]},{"name":"file_selector_windows","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/file_selector_windows-0.9.3+3/","native_build":true,"dependencies":[]},{"name":"geolocator_windows","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/geolocator_windows-0.2.3/","native_build":true,"dependencies":[]},{"name":"image_picker_windows","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/image_picker_windows-0.2.1+1/","native_build":false,"dependencies":["file_selector_windows"]},{"name":"package_info_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":false,"dependencies":[]},{"name":"path_provider_windows","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/","native_build":false,"dependencies":[]},{"name":"shared_preferences_windows","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/","native_build":false,"dependencies":["path_provider_windows"]},{"name":"url_launcher_windows","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/url_launcher_windows-3.1.4/","native_build":true,"dependencies":[]}],"web":[{"name":"connectivity_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.3/","dependencies":[]},{"name":"flutter_inappwebview_web","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_inappwebview_web-1.0.8/","dependencies":[]},{"name":"fluttertoast","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/fluttertoast-8.2.11/","dependencies":[]},{"name":"geolocator_web","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/geolocator_web-4.1.1/","dependencies":[]},{"name":"google_maps_flutter_web","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/google_maps_flutter_web-0.5.10/","dependencies":[]},{"name":"image_picker_for_web","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/image_picker_for_web-3.0.6/","dependencies":[]},{"name":"package_info_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","dependencies":[]},{"name":"shared_preferences_web","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.2/","dependencies":[]},{"name":"url_launcher_web","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/url_launcher_web-2.3.3/","dependencies":[]}]},"dependencyGraph":[{"name":"connectivity_plus","dependencies":[]},{"name":"file_selector_linux","dependencies":[]},{"name":"file_selector_macos","dependencies":[]},{"name":"file_selector_windows","dependencies":[]},{"name":"flutter_inappwebview","dependencies":["flutter_inappwebview_android","flutter_inappwebview_ios","flutter_inappwebview_macos","flutter_inappwebview_web"]},{"name":"flutter_inappwebview_android","dependencies":[]},{"name":"flutter_inappwebview_ios","dependencies":[]},{"name":"flutter_inappwebview_macos","dependencies":[]},{"name":"flutter_inappwebview_web","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"fluttertoast","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":"image_picker","dependencies":["image_picker_android","image_picker_for_web","image_picker_ios","image_picker_linux","image_picker_macos","image_picker_windows"]},{"name":"image_picker_android","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"image_picker_for_web","dependencies":[]},{"name":"image_picker_ios","dependencies":[]},{"name":"image_picker_linux","dependencies":["file_selector_linux"]},{"name":"image_picker_macos","dependencies":["file_selector_macos"]},{"name":"image_picker_windows","dependencies":["file_selector_windows"]},{"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":[]},{"name":"url_launcher","dependencies":["url_launcher_android","url_launcher_ios","url_launcher_linux","url_launcher_macos","url_launcher_web","url_launcher_windows"]},{"name":"url_launcher_android","dependencies":[]},{"name":"url_launcher_ios","dependencies":[]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]}],"date_created":"2025-02-13 11:16:18.407354","version":"3.22.3"} \ 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/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.3/","native_build":true,"dependencies":[]},{"name":"flutter_inappwebview_ios","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/","native_build":true,"dependencies":[]},{"name":"fluttertoast","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/fluttertoast-8.2.11/","native_build":true,"dependencies":[]},{"name":"geocoding_ios","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/geocoding_ios-3.0.1/","native_build":true,"dependencies":[]},{"name":"geolocator_apple","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.8+1/","native_build":true,"dependencies":[]},{"name":"google_maps_flutter_ios","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/google_maps_flutter_ios-2.13.2/","native_build":true,"dependencies":[]},{"name":"image_picker_ios","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/image_picker_ios-0.8.12+2/","native_build":true,"dependencies":[]},{"name":"package_info_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"/Users/rajeevsingh/.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/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"sqflite","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/sqflite-2.3.3+1/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"url_launcher_ios","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/url_launcher_ios-6.3.2/","native_build":true,"dependencies":[]}],"android":[{"name":"connectivity_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.3/","native_build":true,"dependencies":[]},{"name":"flutter_inappwebview_android","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_inappwebview_android-1.0.13/","native_build":true,"dependencies":[]},{"name":"flutter_plugin_android_lifecycle","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.22/","native_build":true,"dependencies":[]},{"name":"fluttertoast","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/fluttertoast-8.2.11/","native_build":true,"dependencies":[]},{"name":"geocoding_android","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/geocoding_android-3.3.1/","native_build":true,"dependencies":[]},{"name":"geolocator_android","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/geolocator_android-4.6.1/","native_build":true,"dependencies":[]},{"name":"google_api_headers","path":"/Users/rajeevsingh/.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/rajeevsingh/.pub-cache/hosted/pub.dev/google_maps_flutter_android-2.14.7/","native_build":true,"dependencies":["flutter_plugin_android_lifecycle"]},{"name":"image_picker_android","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/image_picker_android-0.8.12+12/","native_build":true,"dependencies":["flutter_plugin_android_lifecycle"]},{"name":"package_info_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":true,"dependencies":[]},{"name":"path_provider_android","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_android-2.2.10/","native_build":true,"dependencies":[]},{"name":"shared_preferences_android","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_android-2.3.2/","native_build":true,"dependencies":[]},{"name":"sqflite","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/sqflite-2.3.3+1/","native_build":true,"dependencies":[]},{"name":"url_launcher_android","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/url_launcher_android-6.3.9/","native_build":true,"dependencies":[]}],"macos":[{"name":"connectivity_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.3/","native_build":true,"dependencies":[]},{"name":"file_selector_macos","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/file_selector_macos-0.9.4+2/","native_build":true,"dependencies":[]},{"name":"flutter_inappwebview_macos","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_inappwebview_macos-1.0.11/","native_build":true,"dependencies":[]},{"name":"geolocator_apple","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.8+1/","native_build":true,"dependencies":[]},{"name":"image_picker_macos","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/image_picker_macos-0.2.1+2/","native_build":false,"dependencies":["file_selector_macos"]},{"name":"package_info_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"/Users/rajeevsingh/.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/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"sqflite","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/sqflite-2.3.3+1/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"url_launcher_macos","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/url_launcher_macos-3.2.2/","native_build":true,"dependencies":[]}],"linux":[{"name":"connectivity_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.3/","native_build":false,"dependencies":[]},{"name":"file_selector_linux","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/file_selector_linux-0.9.3+2/","native_build":true,"dependencies":[]},{"name":"image_picker_linux","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/image_picker_linux-0.2.1+1/","native_build":false,"dependencies":["file_selector_linux"]},{"name":"package_info_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":false,"dependencies":[]},{"name":"path_provider_linux","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/","native_build":false,"dependencies":[]},{"name":"shared_preferences_linux","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/","native_build":false,"dependencies":["path_provider_linux"]},{"name":"url_launcher_linux","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/url_launcher_linux-3.2.1/","native_build":true,"dependencies":[]}],"windows":[{"name":"connectivity_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.3/","native_build":true,"dependencies":[]},{"name":"file_selector_windows","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/file_selector_windows-0.9.3+3/","native_build":true,"dependencies":[]},{"name":"geolocator_windows","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/geolocator_windows-0.2.3/","native_build":true,"dependencies":[]},{"name":"image_picker_windows","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/image_picker_windows-0.2.1+1/","native_build":false,"dependencies":["file_selector_windows"]},{"name":"package_info_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","native_build":false,"dependencies":[]},{"name":"path_provider_windows","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/","native_build":false,"dependencies":[]},{"name":"shared_preferences_windows","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/","native_build":false,"dependencies":["path_provider_windows"]},{"name":"url_launcher_windows","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/url_launcher_windows-3.1.4/","native_build":true,"dependencies":[]}],"web":[{"name":"connectivity_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.3/","dependencies":[]},{"name":"flutter_inappwebview_web","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_inappwebview_web-1.0.8/","dependencies":[]},{"name":"fluttertoast","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/fluttertoast-8.2.11/","dependencies":[]},{"name":"geolocator_web","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/geolocator_web-4.1.1/","dependencies":[]},{"name":"google_maps_flutter_web","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/google_maps_flutter_web-0.5.10/","dependencies":[]},{"name":"image_picker_for_web","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/image_picker_for_web-3.0.6/","dependencies":[]},{"name":"package_info_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/","dependencies":[]},{"name":"shared_preferences_web","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.2/","dependencies":[]},{"name":"url_launcher_web","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/url_launcher_web-2.3.3/","dependencies":[]}]},"dependencyGraph":[{"name":"connectivity_plus","dependencies":[]},{"name":"file_selector_linux","dependencies":[]},{"name":"file_selector_macos","dependencies":[]},{"name":"file_selector_windows","dependencies":[]},{"name":"flutter_inappwebview","dependencies":["flutter_inappwebview_android","flutter_inappwebview_ios","flutter_inappwebview_macos","flutter_inappwebview_web"]},{"name":"flutter_inappwebview_android","dependencies":[]},{"name":"flutter_inappwebview_ios","dependencies":[]},{"name":"flutter_inappwebview_macos","dependencies":[]},{"name":"flutter_inappwebview_web","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"fluttertoast","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":"image_picker","dependencies":["image_picker_android","image_picker_for_web","image_picker_ios","image_picker_linux","image_picker_macos","image_picker_windows"]},{"name":"image_picker_android","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"image_picker_for_web","dependencies":[]},{"name":"image_picker_ios","dependencies":[]},{"name":"image_picker_linux","dependencies":["file_selector_linux"]},{"name":"image_picker_macos","dependencies":["file_selector_macos"]},{"name":"image_picker_windows","dependencies":["file_selector_windows"]},{"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":[]},{"name":"url_launcher","dependencies":["url_launcher_android","url_launcher_ios","url_launcher_linux","url_launcher_macos","url_launcher_web","url_launcher_windows"]},{"name":"url_launcher_android","dependencies":[]},{"name":"url_launcher_ios","dependencies":[]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]}],"date_created":"2025-02-13 17:24:46.275057","version":"3.22.3"} \ No newline at end of file diff --git a/lib/src/logic/provider/addTocart_provider.dart b/lib/src/logic/provider/addTocart_provider.dart index 2f74861..f1a36c9 100644 --- a/lib/src/logic/provider/addTocart_provider.dart +++ b/lib/src/logic/provider/addTocart_provider.dart @@ -56,14 +56,14 @@ class AddtocartProvider extends ChangeNotifier { // Now check if this pin code is deliverable await checkPin(context, _pinCode); } else { - _pinCode = "unable to current pi code"; + _pinCode = ""; print("Error: No placemarks found."); } } catch (e) { - _pinCode = "unable to current pi code"; + _pinCode = ""; print("Error: ${e.toString()}"); } - _pinCode = "unable to current pi code"; + _pinCode = ""; _isLoading = false; notifyListeners(); } diff --git a/lib/src/ui/bestdeal/bestdeal_screen.dart b/lib/src/ui/bestdeal/bestdeal_screen.dart index 65fc1e7..50f8c3a 100644 --- a/lib/src/ui/bestdeal/bestdeal_screen.dart +++ b/lib/src/ui/bestdeal/bestdeal_screen.dart @@ -294,7 +294,7 @@ class _BestDealScreenState extends State { Row( children: [ Text( - "\$${bestdealproduct.discountPrice ?? ""} ", + "₹${bestdealproduct.discountPrice ?? ""} ", textAlign: TextAlign.left, maxLines: 1, overflow: TextOverflow.ellipsis, @@ -302,7 +302,7 @@ class _BestDealScreenState extends State { context.customSemiBold(Colors.black, 12), ), Text( - "\$${bestdealproduct.basePrice ?? ""}", + "₹${bestdealproduct.basePrice ?? ""}", textAlign: TextAlign.left, maxLines: 1, overflow: TextOverflow.ellipsis, diff --git a/lib/src/ui/cart/cartview_screen.dart b/lib/src/ui/cart/cartview_screen.dart index 02e0681..e34ce82 100644 --- a/lib/src/ui/cart/cartview_screen.dart +++ b/lib/src/ui/cart/cartview_screen.dart @@ -57,7 +57,7 @@ class _MycartState extends State { centerTitle: true, title: Center( child: const Text( - 'Cart 🛒', + 'My Cart 🛒', style: TextStyle( fontSize: 20, fontWeight: FontWeight.w700, @@ -84,7 +84,6 @@ class _MycartState extends State { const SizedBox( height: 15, ), - Divider(), cartPlace(), ], ), @@ -95,210 +94,206 @@ class _MycartState extends State { Widget relatedProduct() { return Consumer(builder: (context, provider, child) { - if (provider.isBestdealingloading) { return Center(child: CircularProgressIndicator()); } else if (provider.bestdeal.isEmpty) { return Center(child: Text('No products available')); } else { - return GridView.builder( - itemCount: - provider.bestdeal.length < 8 ? provider.bestdeal.length : 6, - physics: NeverScrollableScrollPhysics(), - shrinkWrap: true, - gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( - crossAxisCount: 2, - crossAxisSpacing: 5, - mainAxisSpacing: 5, - childAspectRatio: MediaQuery.of(context).size.width / - (MediaQuery.of(context).size.height / 1.8), - ), - itemBuilder: (context, index) { - var bestdealproduct = provider.bestdeal[index]; - double cardWidth = - MediaQuery.of(context).size.width * 0.4; // Dynamic width + return SizedBox( + height: MediaQuery.of(context).size.height * 0.28, + child: ListView.builder( + scrollDirection: Axis.horizontal, + itemCount: provider.bestdeal.length, + itemBuilder: (context, index) { + var bestdealproduct = provider.bestdeal[index]; + double cardWidth = + MediaQuery.of(context).size.width * 0.4; // Dynamic width - return InkWell( - onTap: () { - context.push(MyRoutes.PRODUCTDETAILS, - extra: bestdealproduct.id); - }, - child: Padding( - padding: const EdgeInsets.only(right: 10, bottom: 5, top: 5), - child: Container( - width: cardWidth, - decoration: BoxDecoration( - color: Colors.white, - borderRadius: BorderRadius.circular(15), - boxShadow: [ - BoxShadow( - color: Colors.grey.withOpacity(0.1), - blurRadius: 1, - offset: const Offset(5, 5), - ), - ], - ), - child: Padding( - padding: const EdgeInsets.all(5), - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Center( - child: Container( - height: MediaQuery.of(context).size.height * 0.12, - width: cardWidth * 0.9, - decoration: BoxDecoration( - color: APPCOLOR.bgGrey, - borderRadius: BorderRadius.circular(15), - ), - child: Stack( - alignment: Alignment.center, - children: [ - AppNetworkImage( - height: - MediaQuery.of(context).size.height * 0.08, - width: cardWidth * 0.7, - imageUrl: bestdealproduct - .productImages?.first?.url ?? - "", - backGroundColor: Colors.transparent, - ), - Positioned( - right: 1, - bottom: 0, - child: Container( - padding: EdgeInsets.symmetric( - horizontal: 6, vertical: 2), - decoration: BoxDecoration( - color: Colors.red, - borderRadius: BorderRadius.circular(5), - ), - child: Center( - child: Text( - "${calculateDiscountPercentage(double.parse(bestdealproduct!.basePrice), double.parse(bestdealproduct!.discountPrice))}% OFF", - style: TextStyle( - color: Colors.white, - fontSize: 12)), - ), - ), - ) - ], - ), - ), - ), - SizedBox( - height: MediaQuery.of(context).size.height * 0.01, - ), - Text( - bestdealproduct.name ?? "", - textAlign: TextAlign.left, - maxLines: 2, - overflow: TextOverflow.ellipsis, - style: context.customMedium(APPCOLOR.balck1A1A1A, 14), - ), - SizedBox( - height: MediaQuery.of(context).size.height * 0.005, - ), - Text( - bestdealproduct.unit ?? "", - textAlign: TextAlign.left, - maxLines: 1, - overflow: TextOverflow.ellipsis, - style: context.customMedium( - Colors.grey.withOpacity(0.8), - 12, - ), - ), - SizedBox( - height: MediaQuery.of(context).size.height * 0.005, - ), - const Spacer(), - Row( - children: [ - Row( - children: [ - Text( - "\$${bestdealproduct.discountPrice ?? ""} ", - textAlign: TextAlign.left, - maxLines: 1, - overflow: TextOverflow.ellipsis, - style: - context.customSemiBold(Colors.black, 12), - ), - Text( - "\$${bestdealproduct.basePrice ?? ""}", - textAlign: TextAlign.left, - maxLines: 1, - overflow: TextOverflow.ellipsis, - style: context - .customMedium( - Colors.grey.withOpacity(0.8), - 12, - ) - .copyWith( - decoration: TextDecoration.lineThrough, - ), - ), - ], - ), - const Spacer(), - Align( - alignment: Alignment.centerRight, - child: GestureDetector( - onTap: () async { - if (await SharedPrefUtils.getToken() != - null) { - await provider.addToCart( - context, bestdealproduct.id!, 1); - - context - .read() - .getItemCards(context); - } else { - context.push(MyRoutes.SIGNUP); - } - }, - child: Container( - height: MediaQuery.of(context).size.height * - 0.035, - width: - MediaQuery.of(context).size.width * 0.1, - decoration: BoxDecoration( - color: APPCOLOR.lightGreen, - borderRadius: BorderRadius.circular(5), - ), - child: Center( - child: provider.isLoading[ - bestdealproduct.id] ?? - false - ? Padding( - padding: const EdgeInsets.all(8.0), - child: Container( - height: 10, - width: 10, - child: CircularProgressIndicator( - color: Colors.white, - strokeWidth: 2), - ), - ) - : Text( - 'Add', - style: context.customRegular( - Colors.white, 12), - ), - ), - ), - ), - ), - ], + return InkWell( + onTap: () { + context.push(MyRoutes.PRODUCTDETAILS, + extra: bestdealproduct.id); + }, + child: Padding( + padding: const EdgeInsets.only(right: 5, bottom: 5, top: 5), + child: Container( + width: cardWidth, + decoration: BoxDecoration( + color: Colors.white, + borderRadius: BorderRadius.circular(15), + boxShadow: [ + BoxShadow( + color: Colors.grey.withOpacity(0.1), + blurRadius: 1, + offset: const Offset(5, 5), ), ], ), + child: Padding( + padding: const EdgeInsets.all(5), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Center( + child: Container( + height: MediaQuery.of(context).size.height * 0.12, + width: cardWidth * 0.9, + decoration: BoxDecoration( + color: APPCOLOR.bgGrey, + borderRadius: BorderRadius.circular(15), + ), + child: Stack( + alignment: Alignment.center, + children: [ + AppNetworkImage( + height: MediaQuery.of(context).size.height * + 0.08, + width: cardWidth * 0.7, + imageUrl: bestdealproduct + .productImages?.first?.url ?? + "", + backGroundColor: Colors.transparent, + ), + Positioned( + right: 1, + bottom: 0, + child: Container( + padding: EdgeInsets.symmetric( + horizontal: 6, vertical: 2), + decoration: BoxDecoration( + color: Colors.red, + borderRadius: BorderRadius.circular(5), + ), + child: Center( + child: Text( + "${calculateDiscountPercentage(double.parse(bestdealproduct!.basePrice), double.parse(bestdealproduct!.discountPrice))}% OFF", + style: TextStyle( + color: Colors.white, + fontSize: 12)), + ), + ), + ) + ], + ), + ), + ), + SizedBox( + height: MediaQuery.of(context).size.height * 0.01, + ), + Text( + bestdealproduct.name ?? "", + textAlign: TextAlign.left, + maxLines: 2, + overflow: TextOverflow.ellipsis, + style: + context.customMedium(APPCOLOR.balck1A1A1A, 14), + ), + SizedBox( + height: MediaQuery.of(context).size.height * 0.005, + ), + Text( + bestdealproduct.unit ?? "", + textAlign: TextAlign.left, + maxLines: 1, + overflow: TextOverflow.ellipsis, + style: context.customMedium( + Colors.grey.withOpacity(0.8), + 12, + ), + ), + SizedBox( + height: MediaQuery.of(context).size.height * 0.005, + ), + const Spacer(), + Row( + children: [ + Row( + children: [ + Text( + "₹${bestdealproduct.discountPrice ?? ""} ", + textAlign: TextAlign.left, + maxLines: 1, + overflow: TextOverflow.ellipsis, + style: context.customSemiBold( + Colors.black, 12), + ), + Text( + "₹${bestdealproduct.basePrice ?? ""}", + maxLines: 1, + overflow: TextOverflow.ellipsis, + style: context + .customMedium( + Colors.grey.withOpacity(0.8), + 12, + ) + .copyWith( + decoration: + TextDecoration.lineThrough, + ), + ), + ], + ), + const Spacer(), + Align( + alignment: Alignment.centerRight, + child: GestureDetector( + onTap: () async { + if (await SharedPrefUtils.getToken() != + null) { + await provider.addToCart( + context, bestdealproduct.id!, 1); + + context + .read() + .getItemCards(context); + } else { + context.push(MyRoutes.SIGNUP); + } + }, + child: Container( + height: MediaQuery.of(context).size.height * + 0.028, + // width: + // MediaQuery.of(context).size.width * 0.1, + decoration: BoxDecoration( + color: APPCOLOR.lightGreen, + borderRadius: BorderRadius.circular(5), + ), + child: Center( + child: provider.isLoading[ + bestdealproduct.id] ?? + false + ? Padding( + padding: + const EdgeInsets.all(8.0), + child: Container( + height: 10, + width: 10, + child: + CircularProgressIndicator( + color: Colors.white, + strokeWidth: 2), + ), + ) + : Text( + ' Add ', + style: context.customRegular( + Colors.white, 12), + ), + ), + ), + ), + ), + ], + ), + ], + ), + ), ), ), - ), - ); - }, + ); + }, + ), ); } }); @@ -433,8 +428,8 @@ class _MycartState extends State { shrinkWrap: true, physics: NeverScrollableScrollPhysics(), separatorBuilder: (_, index) => Padding( - padding: EdgeInsets.only(top: 12.h, bottom: 24.h), - child: const Divider(thickness: 1), + padding: EdgeInsets.only(top: 8.h, bottom: 8.h), + // child: const Divider(thickness: 1), ), itemCount: provider.allitem.items!.length, itemBuilder: (context, index) { @@ -470,7 +465,7 @@ class _MycartState extends State { overflow: TextOverflow.ellipsis, style: context.customMedium(APPCOLOR.balck1A1A1A, 14), ), - 5.verticalSpace, + 2.verticalSpace, Text( items.product!.unit ?? "", style: context.customMedium(APPCOLOR.balck1A1A1A, 14), @@ -478,14 +473,14 @@ class _MycartState extends State { Row( children: [ Text( - "\$${items.product!.discountPrice ?? ""} ", + "₹${items.product!.discountPrice ?? ""} ", textAlign: TextAlign.left, maxLines: 1, overflow: TextOverflow.ellipsis, style: context.customSemiBold(Colors.black, 12), ), Text( - "\$${items.product!.basePrice ?? ""}", + "₹${items.product!.basePrice ?? ""}", textAlign: TextAlign.left, maxLines: 1, overflow: TextOverflow.ellipsis, @@ -528,79 +523,103 @@ class _MycartState extends State { const Spacer(), Column( children: [ - Row( - children: [ - CustomIconButton( - width: 14.w, - height: 14.h, - onPressed: () async { - if (items.quantity! > 1) { - await provider.decreaseCartQuantity( - context, - items.id!, - int.parse(items.quantity.toString()) - 1); - } - }, - icon: SvgPicture.asset( - APPASSETS.removeIcon, - fit: BoxFit.none, - ), - backgroundColor: APPCOLOR.appGreen, + Container( + height: 25, + width: 70, + decoration: BoxDecoration( + borderRadius: BorderRadius.all(Radius.circular(7)), + shape: BoxShape.rectangle, + border: Border.all( + color: APPCOLOR.lightGreen, + width: 1, ), - 5.horizontalSpace, - Text( - items.quantity.toString(), - style: - context.customMedium(APPCOLOR.balck1A1A1A, 14), - ), - 5.horizontalSpace, - CustomIconButton( - width: 14.w, - height: 14.h, - onPressed: () async { - await provider.addToCart( - context, items.productId!, 1); + ), + child: Center( + child: Row( + // crossAxisAlignment: CrossAxisAlignment.start, + mainAxisAlignment: MainAxisAlignment.center, + children: [ + InkWell( + onTap: () async { + if (items.quantity! > 1) { + await provider.decreaseCartQuantity( + context, + items.id!, + int.parse(items.quantity.toString()) - + 1); + } + }, + child: Icon( + Icons.remove, + size: 15, + color: APPCOLOR.lightGreen, + ), + ), + // IconButton( + // // width: 14.w, + // // height: 14.h, + // onPressed: () async { + // if (items.quantity! > 1) { + // await provider.decreaseCartQuantity( + // context, + // items.id!, + // int.parse(items.quantity.toString()) - + // 1); + // } + // }, + // icon: Icon(Icons.minimize_rounded), + // iconSize: 10, + // ), + Gap(10), + Text( + items.quantity.toString(), + style: context.customMedium( + APPCOLOR.balck1A1A1A, 14), + ), + Gap(10), + InkWell( + onTap: () async { + await provider.addToCart( + context, items.productId!, 1); + }, + child: Icon( + Icons.add, + size: 15, + color: APPCOLOR.lightGreen, + ), + ), + // IconButton( + // onPressed: () async { + // await provider.addToCart( + // context, items.productId!, 1); - // await provider.getItemCards(context); - }, - icon: SvgPicture.asset( - APPASSETS.addIcon, - fit: BoxFit.none, - ), - backgroundColor: APPCOLOR.appGreen, + // // await provider.getItemCards(context); + // }, + // icon: Icon(Icons.add), + // iconSize: 10, + // ), + ], ), - ], + ), ), Gap(20), InkWell( onTap: () async { provider.deleteItem(context, items.id); }, - child: Container( - height: 25, - width: 70, - decoration: BoxDecoration( - borderRadius: BorderRadius.all(Radius.circular(10)), - shape: BoxShape.rectangle, - border: Border.all( - color: Colors.blue, - width: 2, - ), - ), - child: provider.isRemoveItem[items.id] ?? false - ? Center( - child: Padding( - padding: const EdgeInsets.all(8.0), - child: Container( - height: 5, - width: 5, - child: CircularProgressIndicator( - color: Colors.green, strokeWidth: 1), - ), + child: provider.isRemoveItem[items.id] ?? false + ? Center( + child: Padding( + padding: const EdgeInsets.all(8.0), + child: Container( + height: 5, + width: 5, + child: CircularProgressIndicator( + color: Colors.green, strokeWidth: 1), ), - ) - : Center(child: Text("Delete")), - ), + ), + ) + : Center(child: Text("Delete")), ) ], ) @@ -734,9 +753,11 @@ class _MycartState extends State { children: [ ListTile( leading: Icon(Icons.local_offer, color: Colors.green), - title: Text('APPLY COUPON', - style: TextStyle(fontWeight: FontWeight.bold)), - trailing: Icon(Icons.arrow_forward_ios), + title: Text('APPLY COUPON', style: TextStyle(fontSize: 15)), + trailing: Icon( + Icons.arrow_forward_ios, + size: 15, + ), onTap: () { if (provider.couponDataModel.data!.isNotEmpty) { context.push(MyRoutes.COUPONSSCREEN, @@ -753,52 +774,113 @@ class _MycartState extends State { } }, ), + Divider( + thickness: 0.2, + ), SummaryRow( - label: 'Item Total Price', value: '\$${provider.totalPrice}'), - SummaryRow(label: 'Discount', value: "${provider.discount}"), + label: 'Item Total Price', value: '₹${provider.totalPrice}'), + SummaryRow(label: 'Discount Price', value: "${provider.discount}"), SummaryRow(label: 'Delivery Free', value: 'Free', isGreen: true), - Divider(), + Divider( + thickness: 0.2, + ), SummaryRow( label: 'Grand Total', - value: '\$${provider.grandPrice}', + value: '₹${provider.grandPrice}', isBold: true), ListTile( - leading: Icon(Icons.home, color: Colors.green), + leading: Container( + decoration: BoxDecoration( + color: Colors.lightGreen.withOpacity(0.2), + borderRadius: BorderRadius.all(Radius.circular(8))), + child: Padding( + padding: const EdgeInsets.all(5.0), + child: Icon(Icons.home_outlined, + size: 15, color: Colors.green), + )), title: provider.isDeliverable ? Text('Delivering to : ${provider.pinCode}') : Text( - 'Out Of Stock : ${provider.pinCode}', + 'Out Of Stock ${provider.pinCode}', style: TextStyle(color: Colors.red), ), - trailing: Text('Change', style: TextStyle(color: Colors.blue)), + trailing: Text('Change', style: TextStyle(color: Colors.green)), onTap: () { _showBottomSheet(context); }, ), SizedBox(height: 10), - ElevatedButton( - style: ElevatedButton.styleFrom( - backgroundColor: APPCOLOR.lightGreen), - onPressed: () { - if (provider.isDeliverable) { - _showAddressBottomSheet(context); - } else { - Fluttertoast.showToast( - msg: - "Delivery is not available for this pincode. Please try another pincode!", - toastLength: Toast.LENGTH_SHORT, - gravity: ToastGravity.BOTTOM, - backgroundColor: Colors.red, - textColor: Colors.white, - fontSize: 14.0, - ); - } - }, - child: Row( - mainAxisAlignment: MainAxisAlignment.center, - children: [Text('Place Order', style: TextStyle(fontSize: 16))], + Padding( + padding: EdgeInsets.only(left: 20, right: 20), + child: Container( + height: 40, + decoration: BoxDecoration( + color: APPCOLOR.lightGreen, + borderRadius: BorderRadius.circular(5), + ), + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceAround, + children: [ + Text("₹${provider.grandPrice}", + style: TextStyle(fontSize: 16, color: Colors.white)), + Container( + width: 1, height: 30, color: APPCOLOR.whiteFBFEFB), + InkWell( + onTap: () { + if (provider.isDeliverable) { + _showAddressBottomSheet(context); + } else { + Fluttertoast.showToast( + msg: + "Delivery is not available for this pincode. Please try another pincode!", + toastLength: Toast.LENGTH_SHORT, + gravity: ToastGravity.BOTTOM, + backgroundColor: Colors.red, + textColor: Colors.white, + fontSize: 14.0, + ); + } + }, + child: Row( + children: [ + Text('Place Order ', + style: + TextStyle(fontSize: 16, color: Colors.white)), + Icon( + Icons.arrow_forward, + color: Colors.white, + size: 20, + ) + ], + ), + ) + ], + ), ), ), + // ElevatedButton( + // style: ElevatedButton.styleFrom( + // backgroundColor: APPCOLOR.lightGreen), + // onPressed: () { + // if (provider.isDeliverable) { + // _showAddressBottomSheet(context); + // } else { + // Fluttertoast.showToast( + // msg: + // "Delivery is not available for this pincode. Please try another pincode!", + // toastLength: Toast.LENGTH_SHORT, + // gravity: ToastGravity.BOTTOM, + // backgroundColor: Colors.red, + // textColor: Colors.white, + // fontSize: 14.0, + // ); + // } + // }, + // child: Row( + // mainAxisAlignment: MainAxisAlignment.center, + // children: [Text('Place Order', style: TextStyle(fontSize: 16))], + // ), + // ), ], ); } @@ -1172,11 +1254,11 @@ class SummaryRow extends StatelessWidget { children: [ Text(label, style: TextStyle( - fontSize: 16, + fontSize: 14, fontWeight: isBold ? FontWeight.bold : FontWeight.normal)), Text(value, style: TextStyle( - fontSize: 16, + fontSize: 14, fontWeight: isBold ? FontWeight.bold : FontWeight.normal, color: isGreen ? Colors.green : Colors.black)), ], diff --git a/lib/src/ui/favourite/favourite_screen.dart b/lib/src/ui/favourite/favourite_screen.dart index b69016c..6c76a9d 100644 --- a/lib/src/ui/favourite/favourite_screen.dart +++ b/lib/src/ui/favourite/favourite_screen.dart @@ -220,13 +220,13 @@ class _FavouriteScreenState extends State Row( children: [ Text( - "\$${product.discountPrice}", + "₹${product.discountPrice}", style: context.customSemiBold( Colors.black, 14), ), SizedBox(width: 5), Text( - "\$${product.basePrice ?? ""}", + "₹${product.basePrice ?? ""}", style: context .customMedium( Colors.grey.withOpacity(0.8), 12) diff --git a/lib/src/ui/fruitvegidetail/fruit_veggie_detail.dart b/lib/src/ui/fruitvegidetail/fruit_veggie_detail.dart index d70905f..8fa4b2c 100644 --- a/lib/src/ui/fruitvegidetail/fruit_veggie_detail.dart +++ b/lib/src/ui/fruitvegidetail/fruit_veggie_detail.dart @@ -279,7 +279,7 @@ class _FruitVeggieDetailState extends State { CrossAxisAlignment.start, children: [ Text( - "\$${product.discountPrice ?? " "}", + "₹${product.discountPrice ?? " "}", textAlign: TextAlign.left, maxLines: 1, overflow: TextOverflow.ellipsis, @@ -288,7 +288,7 @@ class _FruitVeggieDetailState extends State { ), const SizedBox(width: 5), Text( - "\$${product.basePrice ?? " "}", + "₹${product.basePrice ?? " "}", textAlign: TextAlign.left, maxLines: 1, overflow: TextOverflow.ellipsis, diff --git a/lib/src/ui/home/home_screen.dart b/lib/src/ui/home/home_screen.dart index 1306f8b..2092870 100644 --- a/lib/src/ui/home/home_screen.dart +++ b/lib/src/ui/home/home_screen.dart @@ -387,7 +387,7 @@ class _HomeScreenState extends State { Row( children: [ Text( - "\$${bestdealproduct.discountPrice ?? ""} ", + "₹${bestdealproduct.discountPrice ?? ""} ", textAlign: TextAlign.left, maxLines: 1, overflow: TextOverflow.ellipsis, @@ -395,7 +395,7 @@ class _HomeScreenState extends State { Colors.black, 11), ), Text( - "\$${bestdealproduct.basePrice ?? ""}", + "₹${bestdealproduct.basePrice ?? ""}", textAlign: TextAlign.left, maxLines: 1, overflow: TextOverflow.ellipsis, diff --git a/lib/src/ui/myOrder/OrderDetailsScreen.dart b/lib/src/ui/myOrder/OrderDetailsScreen.dart index ba0e74b..8a2a3f6 100644 --- a/lib/src/ui/myOrder/OrderDetailsScreen.dart +++ b/lib/src/ui/myOrder/OrderDetailsScreen.dart @@ -179,7 +179,7 @@ class _OrderDetailsScreenState extends State { ), title: Text(orderitem.productName ?? ""), subtitle: Text("Qty: ${orderitem.quantity.toString()}"), - trailing: Text("\$${orderitem.totalOrderItemPrice ?? ""}", + trailing: Text("₹${orderitem.totalOrderItemPrice ?? ""}", style: TextStyle(fontWeight: FontWeight.bold)), ), ); diff --git a/lib/src/ui/productdetails/product_details.dart b/lib/src/ui/productdetails/product_details.dart index cd3dcaa..6299222 100644 --- a/lib/src/ui/productdetails/product_details.dart +++ b/lib/src/ui/productdetails/product_details.dart @@ -240,7 +240,7 @@ class _ProductDetailsState extends State { Row( children: [ Text( - "\$${provider.productDetails.data!.discountPrice}", + "₹${provider.productDetails.data!.discountPrice}", style: TextStyle( fontSize: 20, fontWeight: FontWeight.bold, @@ -248,7 +248,7 @@ class _ProductDetailsState extends State { ), SizedBox(width: 10), Text( - "\$${provider.productDetails.data!.basePrice}", + "₹${provider.productDetails.data!.basePrice}", style: TextStyle( fontSize: 20, fontWeight: FontWeight.bold, @@ -1058,7 +1058,7 @@ class _ProductDetailsState extends State { Row( children: [ Text( - "\$${bestdealproduct.discountPrice ?? ""} ", + "₹${bestdealproduct.discountPrice ?? ""} ", textAlign: TextAlign.left, maxLines: 1, overflow: TextOverflow.ellipsis, @@ -1066,7 +1066,7 @@ class _ProductDetailsState extends State { Colors.black, 12), ), Text( - "\$${bestdealproduct.basePrice ?? ""}", + "₹${bestdealproduct.basePrice ?? ""}", textAlign: TextAlign.left, maxLines: 1, overflow: TextOverflow.ellipsis, @@ -1254,7 +1254,7 @@ class _ProductDetailsState extends State { width: 2, height: 50, color: APPCOLOR.whiteFBFEFB), SizedBox(width: 10), Text( - "\$${cartProvider.totalPrice}", + "₹${cartProvider.totalPrice}", style: TextStyle( fontSize: 25, fontWeight: FontWeight.bold,