diff --git a/.dart_tool/package_config.json b/.dart_tool/package_config.json index 038058e..220fb8a 100644 --- a/.dart_tool/package_config.json +++ b/.dart_tool/package_config.json @@ -3,613 +3,631 @@ "packages": [ { "name": "animation_list", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/animation_list-3.1.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/animation_list-3.1.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "animations", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/animations-2.0.11", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/animations-2.0.11", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "args", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/args-2.5.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/args-2.6.0", "packageUri": "lib/", - "languageVersion": "3.0" + "languageVersion": "3.3" }, { "name": "async", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/async-2.11.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/async-2.11.0", "packageUri": "lib/", "languageVersion": "2.18" }, { "name": "back_button_interceptor", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/back_button_interceptor-8.0.3", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/back_button_interceptor-8.0.3", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "boolean_selector", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "cached_network_image", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/cached_network_image-3.4.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image-3.4.1", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "cached_network_image_platform_interface", - "rootUri": "file:///Users/rajeevsingh/.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.1.1", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "cached_network_image_web", - "rootUri": "file:///Users/rajeevsingh/.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.3.1", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "carousel_slider", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/carousel_slider-5.0.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/carousel_slider-5.0.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "characters", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/characters-1.3.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/characters-1.3.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "clock", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/clock-1.1.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/clock-1.1.1", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "collection", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/collection-1.18.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/collection-1.18.0", "packageUri": "lib/", "languageVersion": "2.18" }, { "name": "connectivity_plus", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "connectivity_plus_platform_interface", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus_platform_interface-2.0.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/connectivity_plus_platform_interface-2.0.1", "packageUri": "lib/", "languageVersion": "2.18" }, { "name": "crypto", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/crypto-3.0.5", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/crypto-3.0.6", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "cupertino_icons", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/cupertino_icons-1.0.8", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/cupertino_icons-1.0.8", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "dbus", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/dbus-0.7.11", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/dbus-0.7.11", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "dio", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/dio-5.7.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/dio-5.7.0", "packageUri": "lib/", "languageVersion": "2.18" }, { "name": "dio_web_adapter", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/dio_web_adapter-2.0.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/dio_web_adapter-2.0.0", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "dots_indicator", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/dots_indicator-3.0.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/dots_indicator-3.0.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "dotted_border", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/dotted_border-2.1.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/dotted_border-2.1.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "fake_async", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/fake_async-1.3.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/fake_async-1.3.1", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "ffi", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/ffi-2.1.3", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/ffi-2.1.3", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "file", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/file-7.0.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/file-7.0.1", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "fixnum", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/fixnum-1.1.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/fixnum-1.1.1", "packageUri": "lib/", - "languageVersion": "2.19" + "languageVersion": "3.1" }, { "name": "flutter", - "rootUri": "file:///Users/rajeevsingh/Documents/allSoftwares/flutter/packages/flutter", + "rootUri": "file:///Users/apple/Documents/development/flutter/packages/flutter", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "flutter_animate", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_animate-4.5.2", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_animate-4.5.2", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "flutter_cache_manager", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_cache_manager-3.4.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_cache_manager-3.4.1", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "flutter_lints", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_lints-3.0.2", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_lints-3.0.2", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "flutter_screenutil", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_screenutil-5.9.3", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_screenutil-5.9.3", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "flutter_shaders", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_shaders-0.1.3", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_shaders-0.1.3", "packageUri": "lib/", "languageVersion": "2.19" }, { "name": "flutter_svg", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_svg-2.0.10+1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_svg-2.0.17", "packageUri": "lib/", - "languageVersion": "2.19" + "languageVersion": "3.4" }, { "name": "flutter_test", - "rootUri": "file:///Users/rajeevsingh/Documents/allSoftwares/flutter/packages/flutter_test", + "rootUri": "file:///Users/apple/Documents/development/flutter/packages/flutter_test", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "flutter_toggle_tab", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_toggle_tab-1.4.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_toggle_tab-1.5.1", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "flutter_web_plugins", - "rootUri": "file:///Users/rajeevsingh/Documents/allSoftwares/flutter/packages/flutter_web_plugins", + "rootUri": "file:///Users/apple/Documents/development/flutter/packages/flutter_web_plugins", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "fpdart", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/fpdart-1.1.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/fpdart-1.1.1", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "gap", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/gap-3.0.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/gap-3.0.1", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "get_it", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/get_it-8.0.3", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/get_it-8.0.3", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "go_router", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/go_router-14.6.3", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/go_router-14.7.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "google_fonts", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/google_fonts-6.2.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/google_fonts-6.2.1", "packageUri": "lib/", "languageVersion": "2.14" }, { "name": "http", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/http-1.2.2", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/http-1.3.0", "packageUri": "lib/", - "languageVersion": "3.3" + "languageVersion": "3.4" }, { "name": "http_parser", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/http_parser-4.0.2", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/http_parser-4.0.2", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "intl", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/intl-0.19.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/intl-0.19.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "leak_tracker", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/leak_tracker-10.0.4", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/leak_tracker-10.0.5", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "leak_tracker_flutter_testing", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.3", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.5", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "leak_tracker_testing", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/leak_tracker_testing-3.0.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/leak_tracker_testing-3.0.1", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "lints", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/lints-3.0.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/lints-3.0.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "loader_overlay", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/loader_overlay-4.0.4+1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/loader_overlay-4.0.4+1", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "logging", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/logging-1.3.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/logging-1.3.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "matcher", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/matcher-0.12.16+1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/matcher-0.12.16+1", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "material_color_utilities", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/material_color_utilities-0.8.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/material_color_utilities-0.11.1", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "material_design_icons_flutter", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/material_design_icons_flutter-7.0.7296", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/material_design_icons_flutter-7.0.7296", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "meta", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/meta-1.12.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/meta-1.15.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "nested", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/nested-1.0.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/nested-1.0.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "nm", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/nm-0.5.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/nm-0.5.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "octo_image", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/octo_image-2.1.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/octo_image-2.1.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "otp_text_field", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/otp_text_field-1.1.3", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/otp_text_field-1.1.3", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "path", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path-1.9.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/path-1.9.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "path_drawing", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_drawing-1.0.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/path_drawing-1.0.1", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "path_parsing", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_parsing-1.0.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/path_parsing-1.1.0", "packageUri": "lib/", - "languageVersion": "2.12" + "languageVersion": "3.3" }, { "name": "path_provider", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider-2.1.4", - "packageUri": "lib/", - "languageVersion": "3.2" - }, - { - "name": "path_provider_android", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_android-2.2.10", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/path_provider-2.1.5", "packageUri": "lib/", "languageVersion": "3.4" }, { - "name": "path_provider_foundation", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.0", + "name": "path_provider_android", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/path_provider_android-2.2.15", "packageUri": "lib/", - "languageVersion": "3.2" + "languageVersion": "3.5" + }, + { + "name": "path_provider_foundation", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.1", + "packageUri": "lib/", + "languageVersion": "3.3" }, { "name": "path_provider_linux", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1", "packageUri": "lib/", "languageVersion": "2.19" }, { "name": "path_provider_platform_interface", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_platform_interface-2.1.2", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/path_provider_platform_interface-2.1.2", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "path_provider_windows", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "petitparser", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/petitparser-6.0.2", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/petitparser-6.0.2", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "platform", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/platform-3.1.5", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/platform-3.1.6", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "plugin_platform_interface", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/plugin_platform_interface-2.1.8", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/plugin_platform_interface-2.1.8", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "pretty_dio_logger", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/pretty_dio_logger-1.4.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/pretty_dio_logger-1.4.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "provider", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/provider-6.1.2", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/provider-6.1.2", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "readmore", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/readmore-3.0.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/readmore-3.0.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "rxdart", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/rxdart-0.28.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/rxdart-0.28.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "shared_preferences", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences-2.3.3", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences-2.4.0", "packageUri": "lib/", - "languageVersion": "3.4" + "languageVersion": "3.5" }, { "name": "shared_preferences_android", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_android-2.3.2", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_android-2.4.3", "packageUri": "lib/", - "languageVersion": "3.4" + "languageVersion": "3.5" }, { "name": "shared_preferences_foundation", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "shared_preferences_linux", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "shared_preferences_platform_interface", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_platform_interface-2.4.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_platform_interface-2.4.1", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "shared_preferences_web", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.2", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "shared_preferences_windows", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "sky_engine", - "rootUri": "file:///Users/rajeevsingh/Documents/allSoftwares/flutter/bin/cache/pkg/sky_engine", + "rootUri": "file:///Users/apple/Documents/development/flutter/bin/cache/pkg/sky_engine", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "source_span", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/source_span-1.10.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/source_span-1.10.0", "packageUri": "lib/", "languageVersion": "2.18" }, { "name": "sprintf", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/sprintf-7.0.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/sprintf-7.0.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "sqflite", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/sqflite-2.3.3+1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/sqflite-2.4.1", "packageUri": "lib/", - "languageVersion": "3.3" + "languageVersion": "3.5" + }, + { + "name": "sqflite_android", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/sqflite_android-2.4.0", + "packageUri": "lib/", + "languageVersion": "3.5" }, { "name": "sqflite_common", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/sqflite_common-2.5.4", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/sqflite_common-2.5.4+6", "packageUri": "lib/", - "languageVersion": "3.3" + "languageVersion": "3.5" + }, + { + "name": "sqflite_darwin", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/sqflite_darwin-2.4.1+1", + "packageUri": "lib/", + "languageVersion": "3.5" + }, + { + "name": "sqflite_platform_interface", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/sqflite_platform_interface-2.4.0", + "packageUri": "lib/", + "languageVersion": "3.5" }, { "name": "stack_trace", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/stack_trace-1.11.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/stack_trace-1.11.1", "packageUri": "lib/", "languageVersion": "2.18" }, { "name": "stream_channel", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/stream_channel-2.1.2", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/stream_channel-2.1.2", "packageUri": "lib/", "languageVersion": "2.19" }, { "name": "string_scanner", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/string_scanner-1.2.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/string_scanner-1.2.0", "packageUri": "lib/", "languageVersion": "2.18" }, { "name": "synchronized", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/synchronized-3.1.0+1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/synchronized-3.3.0+3", "packageUri": "lib/", - "languageVersion": "3.0" + "languageVersion": "3.5" }, { "name": "term_glyph", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/term_glyph-1.2.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/term_glyph-1.2.1", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "test_api", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/test_api-0.7.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/test_api-0.7.2", "packageUri": "lib/", - "languageVersion": "3.0" + "languageVersion": "3.2" }, { "name": "typed_data", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/typed_data-1.3.2", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/typed_data-1.4.0", "packageUri": "lib/", - "languageVersion": "2.17" + "languageVersion": "3.5" }, { "name": "uuid", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/uuid-4.5.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/uuid-4.5.1", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "vector_graphics", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/vector_graphics-1.1.11+1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics-1.1.15", "packageUri": "lib/", - "languageVersion": "2.17" + "languageVersion": "3.4" }, { "name": "vector_graphics_codec", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/vector_graphics_codec-1.1.11+1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics_codec-1.1.13", "packageUri": "lib/", - "languageVersion": "2.17" + "languageVersion": "3.4" }, { "name": "vector_graphics_compiler", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/vector_graphics_compiler-1.1.11+1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics_compiler-1.1.16", "packageUri": "lib/", - "languageVersion": "2.19" + "languageVersion": "3.4" }, { "name": "vector_math", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/vector_math-2.1.4", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/vector_math-2.1.4", "packageUri": "lib/", "languageVersion": "2.14" }, { "name": "vm_service", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/vm_service-14.2.1", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/vm_service-14.2.5", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "web", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/web-1.1.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/web-1.1.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "xdg_directories", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/xdg_directories-1.0.4", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/xdg_directories-1.1.0", "packageUri": "lib/", - "languageVersion": "3.0" + "languageVersion": "3.3" }, { "name": "xml", - "rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/xml-6.5.0", + "rootUri": "file:///Users/apple/.pub-cache/hosted/pub.dev/xml-6.5.0", "packageUri": "lib/", "languageVersion": "3.2" }, @@ -620,10 +638,10 @@ "languageVersion": "3.4" } ], - "generated": "2025-01-25T13:26:28.487764Z", + "generated": "2025-01-26T19:40:32.652548Z", "generator": "pub", - "generatorVersion": "3.4.4", - "flutterRoot": "file:///Users/rajeevsingh/Documents/allSoftwares/flutter", - "flutterVersion": "3.22.3", - "pubCache": "file:///Users/rajeevsingh/.pub-cache" + "generatorVersion": "3.5.3", + "flutterRoot": "file:///Users/apple/Documents/development/flutter", + "flutterVersion": "3.24.3", + "pubCache": "file:///Users/apple/.pub-cache" } diff --git a/.dart_tool/package_config_subset b/.dart_tool/package_config_subset index dbdb2bf..3cb955b 100644 --- a/.dart_tool/package_config_subset +++ b/.dart_tool/package_config_subset @@ -1,413 +1,425 @@ animation_list 2.12 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/animation_list-3.1.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/animation_list-3.1.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/animation_list-3.1.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/animation_list-3.1.0/lib/ animations 3.2 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/animations-2.0.11/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/animations-2.0.11/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/animations-2.0.11/ +file:///Users/apple/.pub-cache/hosted/pub.dev/animations-2.0.11/lib/ args -3.0 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/args-2.5.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/args-2.5.0/lib/ +3.3 +file:///Users/apple/.pub-cache/hosted/pub.dev/args-2.6.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/args-2.6.0/lib/ async 2.18 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/async-2.11.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/async-2.11.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/async-2.11.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/async-2.11.0/lib/ back_button_interceptor 3.2 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/back_button_interceptor-8.0.3/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/back_button_interceptor-8.0.3/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/back_button_interceptor-8.0.3/ +file:///Users/apple/.pub-cache/hosted/pub.dev/back_button_interceptor-8.0.3/lib/ boolean_selector 2.17 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1/lib/ +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/rajeevsingh/.pub-cache/hosted/pub.dev/cached_network_image-3.4.1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/cached_network_image-3.4.1/lib/ +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/ cached_network_image_platform_interface 3.0 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/cached_network_image_platform_interface-4.1.1/ -file:///Users/rajeevsingh/.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.1.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image_platform_interface-4.1.1/lib/ cached_network_image_web 3.0 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/cached_network_image_web-1.3.1/ -file:///Users/rajeevsingh/.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.3.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image_web-1.3.1/lib/ carousel_slider 2.12 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/carousel_slider-5.0.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/carousel_slider-5.0.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/carousel_slider-5.0.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/carousel_slider-5.0.0/lib/ characters 2.12 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/characters-1.3.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/characters-1.3.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/characters-1.3.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/characters-1.3.0/lib/ clock 2.12 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/clock-1.1.1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/clock-1.1.1/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/clock-1.1.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/clock-1.1.1/lib/ collection 2.18 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/collection-1.18.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/collection-1.18.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/collection-1.18.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/collection-1.18.0/lib/ connectivity_plus 3.2 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/ +file:///Users/apple/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/lib/ connectivity_plus_platform_interface 2.18 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus_platform_interface-2.0.1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus_platform_interface-2.0.1/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/connectivity_plus_platform_interface-2.0.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/connectivity_plus_platform_interface-2.0.1/lib/ crypto 3.4 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/crypto-3.0.5/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/crypto-3.0.5/lib/ +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/ cupertino_icons 3.1 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/cupertino_icons-1.0.8/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/cupertino_icons-1.0.8/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/cupertino_icons-1.0.8/ +file:///Users/apple/.pub-cache/hosted/pub.dev/cupertino_icons-1.0.8/lib/ dbus 2.17 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/dbus-0.7.11/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/dbus-0.7.11/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/dbus-0.7.11/ +file:///Users/apple/.pub-cache/hosted/pub.dev/dbus-0.7.11/lib/ dio 2.18 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/dio-5.7.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/dio-5.7.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/dio-5.7.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/dio-5.7.0/lib/ dio_web_adapter 3.3 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/dio_web_adapter-2.0.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/dio_web_adapter-2.0.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/dio_web_adapter-2.0.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/dio_web_adapter-2.0.0/lib/ dots_indicator 2.12 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/dots_indicator-3.0.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/dots_indicator-3.0.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/dots_indicator-3.0.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/dots_indicator-3.0.0/lib/ dotted_border 2.12 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/dotted_border-2.1.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/dotted_border-2.1.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/dotted_border-2.1.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/dotted_border-2.1.0/lib/ fake_async 2.12 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/fake_async-1.3.1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/fake_async-1.3.1/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/fake_async-1.3.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/fake_async-1.3.1/lib/ ffi 3.3 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/ffi-2.1.3/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/ffi-2.1.3/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/ffi-2.1.3/ +file:///Users/apple/.pub-cache/hosted/pub.dev/ffi-2.1.3/lib/ file 3.0 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/file-7.0.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/file-7.0.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/file-7.0.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/file-7.0.1/lib/ fixnum -2.19 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/fixnum-1.1.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/fixnum-1.1.0/lib/ +3.1 +file:///Users/apple/.pub-cache/hosted/pub.dev/fixnum-1.1.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/fixnum-1.1.1/lib/ flutter_animate 2.17 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_animate-4.5.2/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_animate-4.5.2/lib/ +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/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_cache_manager-3.4.1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_cache_manager-3.4.1/lib/ +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/ flutter_lints 3.1 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_lints-3.0.2/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_lints-3.0.2/lib/ +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_screenutil 2.17 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_screenutil-5.9.3/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_screenutil-5.9.3/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_screenutil-5.9.3/ +file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_screenutil-5.9.3/lib/ flutter_shaders 2.19 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_shaders-0.1.3/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_shaders-0.1.3/lib/ +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 -2.19 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_svg-2.0.10+1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_svg-2.0.10+1/lib/ +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/ flutter_toggle_tab 3.0 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_toggle_tab-1.4.1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/flutter_toggle_tab-1.4.1/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_toggle_tab-1.5.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_toggle_tab-1.5.1/lib/ fpdart 3.0 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/fpdart-1.1.1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/fpdart-1.1.1/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/fpdart-1.1.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/fpdart-1.1.1/lib/ gap 2.12 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/gap-3.0.1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/gap-3.0.1/lib/ +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/ get_it 3.0 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/get_it-8.0.3/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/get_it-8.0.3/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/get_it-8.0.3/ +file:///Users/apple/.pub-cache/hosted/pub.dev/get_it-8.0.3/lib/ go_router 3.4 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/go_router-14.6.3/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/go_router-14.6.3/lib/ +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_fonts 2.14 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/google_fonts-6.2.1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/google_fonts-6.2.1/lib/ +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 -3.3 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/http-1.2.2/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/http-1.2.2/lib/ +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/ http_parser 2.12 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/http_parser-4.0.2/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/http_parser-4.0.2/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/http_parser-4.0.2/ +file:///Users/apple/.pub-cache/hosted/pub.dev/http_parser-4.0.2/lib/ intl 3.0 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/intl-0.19.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/intl-0.19.0/lib/ +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/ leak_tracker 3.2 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/leak_tracker-10.0.4/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/leak_tracker-10.0.4/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/leak_tracker-10.0.5/ +file:///Users/apple/.pub-cache/hosted/pub.dev/leak_tracker-10.0.5/lib/ leak_tracker_flutter_testing 3.2 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.3/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.3/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.5/ +file:///Users/apple/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.5/lib/ leak_tracker_testing 3.2 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/leak_tracker_testing-3.0.1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/leak_tracker_testing-3.0.1/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/leak_tracker_testing-3.0.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/leak_tracker_testing-3.0.1/lib/ lints 3.0 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/lints-3.0.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/lints-3.0.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/lints-3.0.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/lints-3.0.0/lib/ loader_overlay 2.12 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/loader_overlay-4.0.4+1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/loader_overlay-4.0.4+1/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/loader_overlay-4.0.4+1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/loader_overlay-4.0.4+1/lib/ logging 3.4 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/logging-1.3.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/logging-1.3.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/logging-1.3.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/logging-1.3.0/lib/ matcher 3.0 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/matcher-0.12.16+1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/matcher-0.12.16+1/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/matcher-0.12.16+1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/matcher-0.12.16+1/lib/ material_color_utilities 2.17 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/material_color_utilities-0.8.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/material_color_utilities-0.8.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/material_color_utilities-0.11.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/material_color_utilities-0.11.1/lib/ material_design_icons_flutter 2.12 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/material_design_icons_flutter-7.0.7296/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/material_design_icons_flutter-7.0.7296/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/material_design_icons_flutter-7.0.7296/ +file:///Users/apple/.pub-cache/hosted/pub.dev/material_design_icons_flutter-7.0.7296/lib/ meta 2.12 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/meta-1.12.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/meta-1.12.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/meta-1.15.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/meta-1.15.0/lib/ nested 2.12 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/nested-1.0.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/nested-1.0.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/nested-1.0.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/nested-1.0.0/lib/ nm 2.12 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/nm-0.5.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/nm-0.5.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/nm-0.5.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/nm-0.5.0/lib/ octo_image 3.0 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/octo_image-2.1.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/octo_image-2.1.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/octo_image-2.1.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/octo_image-2.1.0/lib/ otp_text_field 2.12 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/otp_text_field-1.1.3/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/otp_text_field-1.1.3/lib/ +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/ path 3.0 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path-1.9.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path-1.9.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/path-1.9.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/path-1.9.0/lib/ path_drawing 2.12 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_drawing-1.0.1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_drawing-1.0.1/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/path_drawing-1.0.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/path_drawing-1.0.1/lib/ path_parsing -2.12 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_parsing-1.0.1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_parsing-1.0.1/lib/ +3.3 +file:///Users/apple/.pub-cache/hosted/pub.dev/path_parsing-1.1.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/path_parsing-1.1.0/lib/ path_provider -3.2 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider-2.1.4/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider-2.1.4/lib/ -path_provider_android 3.4 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_android-2.2.10/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_android-2.2.10/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/path_provider-2.1.5/ +file:///Users/apple/.pub-cache/hosted/pub.dev/path_provider-2.1.5/lib/ +path_provider_android +3.5 +file:///Users/apple/.pub-cache/hosted/pub.dev/path_provider_android-2.2.15/ +file:///Users/apple/.pub-cache/hosted/pub.dev/path_provider_android-2.2.15/lib/ path_provider_foundation -3.2 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.0/lib/ +3.3 +file:///Users/apple/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.1/lib/ path_provider_linux 2.19 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/lib/ path_provider_platform_interface 3.0 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_platform_interface-2.1.2/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_platform_interface-2.1.2/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/path_provider_platform_interface-2.1.2/ +file:///Users/apple/.pub-cache/hosted/pub.dev/path_provider_platform_interface-2.1.2/lib/ path_provider_windows 3.2 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/lib/ petitparser 3.2 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/petitparser-6.0.2/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/petitparser-6.0.2/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/petitparser-6.0.2/ +file:///Users/apple/.pub-cache/hosted/pub.dev/petitparser-6.0.2/lib/ platform 3.2 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/platform-3.1.5/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/platform-3.1.5/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/platform-3.1.6/ +file:///Users/apple/.pub-cache/hosted/pub.dev/platform-3.1.6/lib/ plugin_platform_interface 3.0 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/plugin_platform_interface-2.1.8/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/plugin_platform_interface-2.1.8/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/plugin_platform_interface-2.1.8/ +file:///Users/apple/.pub-cache/hosted/pub.dev/plugin_platform_interface-2.1.8/lib/ pretty_dio_logger 3.0 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/pretty_dio_logger-1.4.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/pretty_dio_logger-1.4.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/pretty_dio_logger-1.4.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/pretty_dio_logger-1.4.0/lib/ provider 2.12 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/provider-6.1.2/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/provider-6.1.2/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/provider-6.1.2/ +file:///Users/apple/.pub-cache/hosted/pub.dev/provider-6.1.2/lib/ readmore 3.0 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/readmore-3.0.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/readmore-3.0.0/lib/ +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/rajeevsingh/.pub-cache/hosted/pub.dev/rxdart-0.28.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/rxdart-0.28.0/lib/ +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/ shared_preferences -3.4 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences-2.3.3/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences-2.3.3/lib/ +3.5 +file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences-2.4.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences-2.4.0/lib/ shared_preferences_android -3.4 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_android-2.3.2/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_android-2.3.2/lib/ +3.5 +file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_android-2.4.3/ +file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_android-2.4.3/lib/ shared_preferences_foundation 3.4 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/ +file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/lib/ shared_preferences_linux 3.3 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/lib/ shared_preferences_platform_interface 3.2 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_platform_interface-2.4.1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_platform_interface-2.4.1/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_platform_interface-2.4.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_platform_interface-2.4.1/lib/ shared_preferences_web 3.4 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.2/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.2/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.2/ +file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.2/lib/ shared_preferences_windows 3.3 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/lib/ source_span 2.18 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/source_span-1.10.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/source_span-1.10.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/source_span-1.10.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/source_span-1.10.0/lib/ sprintf 2.12 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/sprintf-7.0.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/sprintf-7.0.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/sprintf-7.0.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/sprintf-7.0.0/lib/ sqflite -3.3 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/sqflite-2.3.3+1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/sqflite-2.3.3+1/lib/ +3.5 +file:///Users/apple/.pub-cache/hosted/pub.dev/sqflite-2.4.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/sqflite-2.4.1/lib/ +sqflite_android +3.5 +file:///Users/apple/.pub-cache/hosted/pub.dev/sqflite_android-2.4.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/sqflite_android-2.4.0/lib/ sqflite_common -3.3 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/sqflite_common-2.5.4/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/sqflite_common-2.5.4/lib/ +3.5 +file:///Users/apple/.pub-cache/hosted/pub.dev/sqflite_common-2.5.4+6/ +file:///Users/apple/.pub-cache/hosted/pub.dev/sqflite_common-2.5.4+6/lib/ +sqflite_darwin +3.5 +file:///Users/apple/.pub-cache/hosted/pub.dev/sqflite_darwin-2.4.1+1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/sqflite_darwin-2.4.1+1/lib/ +sqflite_platform_interface +3.5 +file:///Users/apple/.pub-cache/hosted/pub.dev/sqflite_platform_interface-2.4.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/sqflite_platform_interface-2.4.0/lib/ stack_trace 2.18 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/stack_trace-1.11.1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/stack_trace-1.11.1/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/stack_trace-1.11.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/stack_trace-1.11.1/lib/ stream_channel 2.19 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/stream_channel-2.1.2/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/stream_channel-2.1.2/lib/ +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/ string_scanner 2.18 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/string_scanner-1.2.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/string_scanner-1.2.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/string_scanner-1.2.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/string_scanner-1.2.0/lib/ synchronized -3.0 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/synchronized-3.1.0+1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/synchronized-3.1.0+1/lib/ +3.5 +file:///Users/apple/.pub-cache/hosted/pub.dev/synchronized-3.3.0+3/ +file:///Users/apple/.pub-cache/hosted/pub.dev/synchronized-3.3.0+3/lib/ term_glyph 2.12 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/term_glyph-1.2.1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/term_glyph-1.2.1/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/term_glyph-1.2.1/ +file:///Users/apple/.pub-cache/hosted/pub.dev/term_glyph-1.2.1/lib/ test_api -3.0 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/test_api-0.7.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/test_api-0.7.0/lib/ +3.2 +file:///Users/apple/.pub-cache/hosted/pub.dev/test_api-0.7.2/ +file:///Users/apple/.pub-cache/hosted/pub.dev/test_api-0.7.2/lib/ typed_data -2.17 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/typed_data-1.3.2/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/typed_data-1.3.2/lib/ +3.5 +file:///Users/apple/.pub-cache/hosted/pub.dev/typed_data-1.4.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/typed_data-1.4.0/lib/ uuid 3.0 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/uuid-4.5.1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/uuid-4.5.1/lib/ +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 -2.17 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/vector_graphics-1.1.11+1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/vector_graphics-1.1.11+1/lib/ +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/ vector_graphics_codec -2.17 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/vector_graphics_codec-1.1.11+1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/vector_graphics_codec-1.1.11+1/lib/ +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/ vector_graphics_compiler -2.19 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/vector_graphics_compiler-1.1.11+1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/vector_graphics_compiler-1.1.11+1/lib/ +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/ vector_math 2.14 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/vector_math-2.1.4/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/vector_math-2.1.4/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/vector_math-2.1.4/ +file:///Users/apple/.pub-cache/hosted/pub.dev/vector_math-2.1.4/lib/ vm_service 3.3 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/vm_service-14.2.1/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/vm_service-14.2.1/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/vm_service-14.2.5/ +file:///Users/apple/.pub-cache/hosted/pub.dev/vm_service-14.2.5/lib/ web 3.4 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/web-1.1.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/web-1.1.0/lib/ +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/ xdg_directories -3.0 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/xdg_directories-1.0.4/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/xdg_directories-1.0.4/lib/ +3.3 +file:///Users/apple/.pub-cache/hosted/pub.dev/xdg_directories-1.1.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/xdg_directories-1.1.0/lib/ xml 3.2 -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/xml-6.5.0/ -file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/xml-6.5.0/lib/ +file:///Users/apple/.pub-cache/hosted/pub.dev/xml-6.5.0/ +file:///Users/apple/.pub-cache/hosted/pub.dev/xml-6.5.0/lib/ grocery_app 3.4 -file:///Users/rajeevsingh/Documents/FlutterProject/freelanceing/grocery_user/ -file:///Users/rajeevsingh/Documents/FlutterProject/freelanceing/grocery_user/lib/ +file:///Users/apple/Documents/Allflutter%20/freelancing/groceryApp/ +file:///Users/apple/Documents/Allflutter%20/freelancing/groceryApp/lib/ sky_engine 3.2 -file:///Users/rajeevsingh/Documents/allSoftwares/flutter/bin/cache/pkg/sky_engine/ -file:///Users/rajeevsingh/Documents/allSoftwares/flutter/bin/cache/pkg/sky_engine/lib/ +file:///Users/apple/Documents/development/flutter/bin/cache/pkg/sky_engine/ +file:///Users/apple/Documents/development/flutter/bin/cache/pkg/sky_engine/lib/ flutter 3.3 -file:///Users/rajeevsingh/Documents/allSoftwares/flutter/packages/flutter/ -file:///Users/rajeevsingh/Documents/allSoftwares/flutter/packages/flutter/lib/ +file:///Users/apple/Documents/development/flutter/packages/flutter/ +file:///Users/apple/Documents/development/flutter/packages/flutter/lib/ flutter_test 3.3 -file:///Users/rajeevsingh/Documents/allSoftwares/flutter/packages/flutter_test/ -file:///Users/rajeevsingh/Documents/allSoftwares/flutter/packages/flutter_test/lib/ +file:///Users/apple/Documents/development/flutter/packages/flutter_test/ +file:///Users/apple/Documents/development/flutter/packages/flutter_test/lib/ flutter_web_plugins 3.2 -file:///Users/rajeevsingh/Documents/allSoftwares/flutter/packages/flutter_web_plugins/ -file:///Users/rajeevsingh/Documents/allSoftwares/flutter/packages/flutter_web_plugins/lib/ +file:///Users/apple/Documents/development/flutter/packages/flutter_web_plugins/ +file:///Users/apple/Documents/development/flutter/packages/flutter_web_plugins/lib/ 2 diff --git a/.dart_tool/version b/.dart_tool/version index d9b2ac5..ffba2c8 100644 --- a/.dart_tool/version +++ b/.dart_tool/version @@ -1 +1 @@ -3.22.3 \ No newline at end of file +3.24.3 \ No newline at end of file diff --git a/.flutter-plugins b/.flutter-plugins index c089d6d..88715b1 100644 --- a/.flutter-plugins +++ b/.flutter-plugins @@ -1,14 +1,16 @@ # This is a generated file; do not edit or check into version control. -connectivity_plus=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/ -path_provider=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider-2.1.4/ -path_provider_android=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_android-2.2.10/ -path_provider_foundation=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.0/ -path_provider_linux=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/ -path_provider_windows=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/ -shared_preferences=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences-2.3.3/ -shared_preferences_android=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_android-2.3.2/ -shared_preferences_foundation=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/ -shared_preferences_linux=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/ -shared_preferences_web=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.2/ -shared_preferences_windows=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/ -sqflite=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/sqflite-2.3.3+1/ +connectivity_plus=/Users/apple/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/ +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/ +path_provider_linux=/Users/apple/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/ +path_provider_windows=/Users/apple/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/ +shared_preferences=/Users/apple/.pub-cache/hosted/pub.dev/shared_preferences-2.4.0/ +shared_preferences_android=/Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_android-2.4.3/ +shared_preferences_foundation=/Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/ +shared_preferences_linux=/Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/ +shared_preferences_web=/Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.2/ +shared_preferences_windows=/Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/ +sqflite=/Users/apple/.pub-cache/hosted/pub.dev/sqflite-2.4.1/ +sqflite_android=/Users/apple/.pub-cache/hosted/pub.dev/sqflite_android-2.4.0/ +sqflite_darwin=/Users/apple/.pub-cache/hosted/pub.dev/sqflite_darwin-2.4.1+1/ diff --git a/.flutter-plugins-dependencies b/.flutter-plugins-dependencies index 4427f21..304658a 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.2/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.0/","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":[]}],"android":[{"name":"connectivity_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/","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":[]}],"macos":[{"name":"connectivity_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.0/","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":[]}],"linux":[{"name":"connectivity_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/","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"]}],"windows":[{"name":"connectivity_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/","native_build":true,"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"]}],"web":[{"name":"connectivity_plus","path":"/Users/rajeevsingh/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.2/","dependencies":[]},{"name":"shared_preferences_web","path":"/Users/rajeevsingh/.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":[]}],"date_created":"2025-01-25 18:56:28.677453","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/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 diff --git a/android/settings.gradle b/android/settings.gradle index 536165d..c5fb685 100644 --- a/android/settings.gradle +++ b/android/settings.gradle @@ -19,7 +19,7 @@ pluginManagement { plugins { id "dev.flutter.flutter-plugin-loader" version "1.0.0" id "com.android.application" version "7.3.0" apply false - id "org.jetbrains.kotlin.android" version "1.7.10" apply false + id "org.jetbrains.kotlin.android" version "1.9.10" apply false } include ":app" diff --git a/lib/main.dart b/lib/main.dart index c662930..206481c 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -3,6 +3,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:grocery_app/src/core/network_services/service_locator.dart'; import 'package:grocery_app/src/core/routes/routes.dart'; import 'package:grocery_app/src/logic/provider/auth_provider.dart'; +import 'package:grocery_app/src/logic/provider/home_provider.dart'; import 'package:grocery_app/src/ui/splash/splash_screen.dart'; import 'package:grocery_app/utils/constants/color_constant.dart'; import 'package:grocery_app/utils/constants/string_constant.dart'; @@ -32,7 +33,7 @@ class MyApplication extends StatelessWidget { child: MultiProvider( providers: [ ChangeNotifierProvider(create: (_) => AuthProvider()), - // ChangeNotifierProvider(create: (_) => DaySelectionProvider()), + ChangeNotifierProvider(create: (_) => ProductProvider()), // ChangeNotifierProvider(create: (_) => LoginProvider()), // ChangeNotifierProvider(create: (_) => ProductProvider()), // ChangeNotifierProvider(create: (_) => HomeProvider()), diff --git a/lib/src/core/constant/api.dart b/lib/src/core/constant/api.dart index 1591c83..fea449c 100644 --- a/lib/src/core/constant/api.dart +++ b/lib/src/core/constant/api.dart @@ -5,23 +5,27 @@ class APIURL { static const String verifyOtp = "${BASE_URL}auth/verify-otp/customer"; static const String login = "${BASE_URL}auth/login/vendor"; static const String customerRegister = "${BASE_URL}auth/register/customer"; - - static const String getStore = "${BASE_URL}stores/"; - static const String getAllProduct = "${BASE_URL}products"; + static const String getBanners = "${BASE_URL}banners"; + static const String customerLogOut = "${BASE_URL}auth/logout/customer"; + static const String getBestDealProduct = "${BASE_URL}products/best-deals"; + static const String getAllcategory = "${BASE_URL}categories"; + + + static const String updateStore = "${BASE_URL}stores/"; static const String forgetPassword = "${BASE_URL}auth/forgot-password/vendor"; static const String verifyForgetPassword = "${BASE_URL}auth/forgot-password-verify-otp/vendor"; static const String reset_password = "${BASE_URL}auth/reset-password/vendor"; - static const String get_category = "${BASE_URL}categories"; + static const String getProduct = "${BASE_URL}products"; static const String getCategoryByLevel = "${BASE_URL}categories/by-level/1"; static const String getMe = "${BASE_URL}auth/me"; static const String refresh_token = "${BASE_URL}auth/refresh-token"; static const String createProduct = "${BASE_URL}products"; - static const String customerLogOut = "${BASE_URL}/auth/logout/customer"; + static const String uploadImage = "${BASE_URL}images/upload"; static const String deleteProduct = "${BASE_URL}products/"; static const String updateProduct = "${BASE_URL}products/"; diff --git a/lib/src/core/network_services/service_locator.dart b/lib/src/core/network_services/service_locator.dart index 18b417e..a81c145 100644 --- a/lib/src/core/network_services/service_locator.dart +++ b/lib/src/core/network_services/service_locator.dart @@ -4,7 +4,9 @@ import 'package:dio/dio.dart'; import 'package:get_it/get_it.dart'; import 'package:grocery_app/src/core/network_services/dio_client.dart'; import 'package:grocery_app/src/logic/repo/auth_repo.dart'; +import 'package:grocery_app/src/logic/repo/product_repo.dart'; import 'package:grocery_app/src/logic/services/auth_service_locator.dart'; +import 'package:grocery_app/src/logic/services/home_locator.dart'; @@ -19,7 +21,7 @@ class ServiceLocator getIt.registerSingleton(Dio()); getIt.registerSingleton(DioClient(getIt())); getIt.registerSingleton(AuthServices()); - // getIt.registerSingleton(ProductService()); + getIt.registerSingleton(ProductService()); // getIt.registerSingleton(StoreService()); // getIt.registerSingleton(HomeService()); @@ -27,7 +29,7 @@ class ServiceLocator // Repos getIt.registerSingleton(AuthRepo(getIt())); -// getIt.registerSingleton(ProductRepo(getIt())); + getIt.registerSingleton(ProductRepo(getIt())); // getIt.registerSingleton(StoreRepo(getIt())); // getIt.registerSingleton(HomeRepo(getIt())); diff --git a/lib/src/core/routes/routes.dart b/lib/src/core/routes/routes.dart index 12a9eba..dc54f0c 100644 --- a/lib/src/core/routes/routes.dart +++ b/lib/src/core/routes/routes.dart @@ -4,6 +4,7 @@ import 'package:flutter/material.dart'; import 'package:go_router/go_router.dart'; import 'package:grocery_app/src/ui/bottomnavigation/bottom_bar_widget.dart'; import 'package:grocery_app/src/ui/entername/enter_fullname_screen.dart'; +import 'package:grocery_app/src/ui/fruitvegidetail/fruit_veggie_detail.dart'; import 'package:grocery_app/src/ui/login/login_screen.dart'; import 'package:grocery_app/src/ui/onboarding/on_boarding_screen.dart'; import 'package:grocery_app/src/ui/otp/otp_screen.dart'; @@ -51,6 +52,11 @@ class MyRoutes { name: BOTTOMNAV, pageBuilder: (context, state) => const BottomBarWidget(), ), + animatedGoRoute( + path: FRUITVEGGIEDETAIL, + name: FRUITVEGGIEDETAIL, + pageBuilder: (context, state) => const FruitVeggieDetail(), + ), // animatedGoRoute( // path: TERMANDCONDITIONS, @@ -176,10 +182,11 @@ class MyRoutes { /// Route constants static const SPLASH = "/"; static const FULLNAME = "/fullname"; - static const BOTTOMNAV = "/bottomnav"; - static const HOME = "/home"; + static const FRUITVEGGIEDETAIL = "/FruitVeggieDetail"; + + static const SELECTACCOUNT = "/selectAccount"; static const DASHBOARD = "/dashboard"; diff --git a/lib/src/data/banners.dart b/lib/src/data/banners.dart new file mode 100644 index 0000000..1fd0a32 --- /dev/null +++ b/lib/src/data/banners.dart @@ -0,0 +1,93 @@ +// To parse this JSON data, do +// +// final banner = bannerFromJson(jsonString); + +import 'dart:convert'; + +BannerModel bannerFromJson(String str) => BannerModel.fromJson(json.decode(str)); + +String bannerToJson(BannerModel data) => json.encode(data.toJson()); + +class BannerModel { + List? data; + Meta? meta; + + BannerModel({ + this.data, + this.meta, + }); + + factory BannerModel.fromJson(Map json) => BannerModel( + data: List.from(json["data"].map((x) => BannerData.fromJson(x))), + meta: Meta.fromJson(json["meta"]), + ); + + Map toJson() => { + "data": List.from(data!.map((x) => x.toJson())), + "meta": meta!.toJson(), + }; +} + +class BannerData { + dynamic? id; + dynamic? imageUrl; + dynamic? redirectUrl; + dynamic altText; + bool? isActive; + DateTime? createdAt; + DateTime? updatedAt; + + BannerData({ + this.id, + this.imageUrl, + this.redirectUrl, + this.altText, + this.isActive, + this.createdAt, + this.updatedAt, + }); + + factory BannerData.fromJson(Map json) => BannerData( + id: json["id"], + imageUrl: json["imageUrl"], + redirectUrl: json["redirectUrl"], + altText: json["altText"], + isActive: json["isActive"], + createdAt: DateTime.parse(json["createdAt"]), + updatedAt: DateTime.parse(json["updatedAt"]), + ); + + Map toJson() => { + "id": id, + "imageUrl": imageUrl, + "redirectUrl": redirectUrl, + "altText": altText, + "isActive": isActive, + "createdAt": createdAt, + "updatedAt": updatedAt, + }; +} + +class Meta { + int? total; + int? page; + int? lastPage; + + Meta({ + this.total, + this.page, + this.lastPage, + }); + + factory Meta.fromJson(Map json) => Meta( + total: json["total"], + page: json["page"], + lastPage: json["lastPage"], + ); + + Map toJson() => { + "total": total, + "page": page, + "lastPage": lastPage, + }; +} diff --git a/lib/src/data/best_dealProduct.dart b/lib/src/data/best_dealProduct.dart new file mode 100644 index 0000000..033e0fd --- /dev/null +++ b/lib/src/data/best_dealProduct.dart @@ -0,0 +1,317 @@ +// To parse this JSON data, do +// +// final bestDealProduct = bestDealProductFromJson(jsondynamic); + +import 'dart:convert'; + +BestDealProduct bestDealProductFromJson(dynamic str) => BestDealProduct.fromJson(json.decode(str)); + +dynamic bestDealProductToJson(BestDealProduct data) => json.encode(data.toJson()); + +class BestDealProduct { + List? data; + Meta? meta; + + BestDealProduct({ + this.data, + this.meta, + }); + + factory BestDealProduct.fromJson(Map json) => BestDealProduct( + data: List.from(json["data"].map((x) => BestDeal.fromJson(x))), + meta: Meta.fromJson(json["meta"]), + ); + + Map toJson() => { + "data": List.from(data!.map((x) => x.toJson())), + "meta": meta!.toJson(), + }; +} + +class BestDeal { + dynamic id; + dynamic name; + dynamic description; + dynamic additionalInfo; + dynamic brand; + dynamic basePrice; + dynamic discountPrice; + dynamic stock; + dynamic quantity; + dynamic unit; + dynamic slug; + dynamic rating; + bool? isInStock; + bool? isActive; + DateTime? createdAt; + DateTime? updatedAt; + dynamic storeId; + dynamic categoryId; + dynamic productTypeId; + dynamic timeSlotId; + Store? store; + Category? category; + List? productImages; + List? productReview; + dynamic averageRating; + dynamic discountPercentage; + double? bestDealScore; + + BestDeal({ + this.id, + this.name, + this.description, + this.additionalInfo, + this.brand, + this.basePrice, + this.discountPrice, + this.stock, + this.quantity, + this.unit, + this.slug, + this.rating, + this.isInStock, + this.isActive, + this.createdAt, + this.updatedAt, + this.storeId, + this.categoryId, + this.productTypeId, + this.timeSlotId, + this.store, + this.category, + this.productImages, + this.productReview, + this.averageRating, + this.discountPercentage, + this.bestDealScore, + }); + + factory BestDeal.fromJson(Map json) => BestDeal( + id: json["id"], + name: json["name"], + description: json["description"], + additionalInfo: json["additionalInfo"], + brand: json["brand"], + basePrice: json["basePrice"], + discountPrice: json["discountPrice"], + stock: json["stock"], + quantity: json["quantity"], + unit: json["unit"], + slug: json["slug"], + rating: json["rating"], + isInStock: json["isInStock"], + isActive: json["isActive"], + createdAt: DateTime.parse(json["createdAt"]), + updatedAt: DateTime.parse(json["updatedAt"]), + storeId: json["storeId"], + categoryId: json["categoryId"], + productTypeId: json["productTypeId"], + timeSlotId: json["timeSlotId"], + store: Store.fromJson(json["store"]), + category: Category.fromJson(json["category"]), + productImages: List.from(json["productImages"].map((x) => ProductImage.fromJson(x))), + productReview: List.from(json["ProductReview"].map((x) => x)), + averageRating: json["averageRating"], + discountPercentage: json["discountPercentage"], + bestDealScore: json["bestDealScore"].toDouble(), + ); + + Map toJson() => { + "id": id, + "name": name, + "description": description, + "additionalInfo": additionalInfo, + "brand": brand, + "basePrice": basePrice, + "discountPrice": discountPrice, + "stock": stock, + "quantity": quantity, + "unit": unit, + "slug": slug, + "rating": rating, + "isInStock": isInStock, + "isActive": isActive, + "createdAt": createdAt, + "updatedAt": updatedAt, + "storeId": storeId, + "categoryId": categoryId, + "productTypeId": productTypeId, + "timeSlotId": timeSlotId, + "store": store!.toJson(), + "category": category!.toJson(), + "productImages": List.from(productImages!.map((x) => x.toJson())), + "ProductReview": List.from(productReview!.map((x) => x)), + "averageRating": averageRating, + "discountPercentage": discountPercentage, + "bestDealScore": bestDealScore, + }; +} + +class Category { + dynamic id; + dynamic name; + dynamic description; + dynamic image; + dynamic slug; + dynamic level; + bool? isActive; + DateTime? createdAt; + DateTime? updatedAt; + dynamic parentCategoryId; + dynamic path; + + Category({ + this.id, + this.name, + this.description, + this.image, + this.slug, + this.level, + this.isActive, + this.createdAt, + this.updatedAt, + this.parentCategoryId, + this.path, + }); + + factory Category.fromJson(Map json) => Category( + id: json["id"], + name: json["name"], + description: json["description"], + image: json["image"], + slug: json["slug"], + level: json["level"], + isActive: json["isActive"], + createdAt: DateTime.parse(json["createdAt"]), + updatedAt: DateTime.parse(json["updatedAt"]), + parentCategoryId: json["parentCategoryId"], + path: json["path"], + ); + + Map toJson() => { + "id": id, + "name": name, + "description": description, + "image": image, + "slug": slug, + "level": level, + "isActive": isActive, + "createdAt": createdAt, + "updatedAt": updatedAt, + "parentCategoryId": parentCategoryId, + "path": path, + }; +} + +class ProductImage { + dynamic id; + dynamic url; + bool? isDefault; + dynamic productId; + + ProductImage({ + this.id, + this.url, + this.isDefault, + this.productId, + }); + + factory ProductImage.fromJson(Map json) => ProductImage( + id: json["id"], + url: json["url"], + isDefault: json["isDefault"], + productId: json["productId"], + ); + + Map toJson() => { + "id": id, + "url": url, + "isDefault": isDefault, + "productId": productId, + }; +} + +class Store { + dynamic id; + dynamic storeName; + dynamic storeDescription; + dynamic officialPhoneNumber; + dynamic storeAddress; + dynamic gstNumber; + dynamic gumastaNumber; + dynamic storePicture; + DateTime? createdAt; + DateTime? updatedAt; + dynamic vendorId; + bool? isActive; + + Store({ + this.id, + this.storeName, + this.storeDescription, + this.officialPhoneNumber, + this.storeAddress, + this.gstNumber, + this.gumastaNumber, + this.storePicture, + this.createdAt, + this.updatedAt, + this.vendorId, + this.isActive, + }); + + factory Store.fromJson(Map json) => Store( + id: json["id"], + storeName: json["storeName"], + storeDescription: json["storeDescription"], + officialPhoneNumber: json["officialPhoneNumber"], + storeAddress: json["storeAddress"], + gstNumber: json["gstNumber"], + gumastaNumber: json["gumastaNumber"], + storePicture: json["storePicture"], + createdAt: DateTime.parse(json["createdAt"]), + updatedAt: DateTime.parse(json["updatedAt"]), + vendorId: json["vendorId"], + isActive: json["isActive"], + ); + + Map toJson() => { + "id": id, + "storeName": storeName, + "storeDescription": storeDescription, + "officialPhoneNumber": officialPhoneNumber, + "storeAddress": storeAddress, + "gstNumber": gstNumber, + "gumastaNumber": gumastaNumber, + "storePicture": storePicture, + "createdAt": createdAt, + "updatedAt": updatedAt, + "vendorId": vendorId, + "isActive": isActive, + }; +} + +class Meta { + dynamic total; + dynamic page; + dynamic lastPage; + + Meta({ + this.total, + this.page, + this.lastPage, + }); + + factory Meta.fromJson(Map json) => Meta( + total: json["total"], + page: json["page"], + lastPage: json["lastPage"], + ); + + Map toJson() => { + "total": total, + "page": page, + "lastPage": lastPage, + }; +} diff --git a/lib/src/data/product_category.dart b/lib/src/data/product_category.dart new file mode 100644 index 0000000..8ace7b3 --- /dev/null +++ b/lib/src/data/product_category.dart @@ -0,0 +1,212 @@ +import 'dart:convert'; + +ProductCategory productCategoryFromJson(dynamic str) => + ProductCategory.fromJson(json.decode(str)); + +dynamic productCategoryToJson(ProductCategory data) => + json.encode(data.toJson()); + +class ProductCategory { + List? data; + Meta? meta; + + ProductCategory({ + this.data, + this.meta, + }); + + factory ProductCategory.fromJson(Map json) => + ProductCategory( + data: json["data"] == null + ? [] + : List.from(json["data"].map((x) => Datum.fromJson(x))), + meta: json["meta"] == null ? null : Meta.fromJson(json["meta"]), + ); + + Map toJson() => { + "data": data == null + ? [] + : List.from(data!.map((x) => x.toJson())), + "meta": meta?.toJson(), + }; +} + +class Datum { + dynamic id; + dynamic name; + dynamic description; + dynamic image; + dynamic slug; + int? level; + bool? isActive; + DateTime? createdAt; + DateTime? updatedAt; + dynamic parentCategoryId; + dynamic path; + Category? parentCategory; + List? childCategories; + + Datum({ + this.id, + this.name, + this.description, + this.image, + this.slug, + this.level, + this.isActive, + this.createdAt, + this.updatedAt, + this.parentCategoryId, + this.path, + this.parentCategory, + this.childCategories, + }); + + factory Datum.fromJson(Map json) => Datum( + id: json["id"], + name: json["name"], + description: json["description"], + image: json["image"], + slug: json["slug"], + level: json["level"], + isActive: json["isActive"], + createdAt: json["createdAt"] == null + ? null + : DateTime.parse(json["createdAt"]), + updatedAt: json["updatedAt"] == null + ? null + : DateTime.parse(json["updatedAt"]), + parentCategoryId: json["parentCategoryId"], + path: json["path"], + parentCategory: json["parentCategory"] == null + ? null + : Category.fromJson(json["parentCategory"]), + childCategories: json["childCategories"] == null + ? [] + : List.from( + json["childCategories"].map((x) => Category.fromJson(x))), + ); + + Map toJson() => { + "id": id, + "name": name, + "description": description, + "image": image, + "slug": slug, + "level": level, + "isActive": isActive, + "createdAt": createdAt?.toIso8601String(), + "updatedAt": updatedAt?.toIso8601String(), + "parentCategoryId": parentCategoryId, + "path": path, + "parentCategory": parentCategory?.toJson(), + "childCategories": childCategories == null + ? [] + : List.from(childCategories!.map((x) => x.toJson())), + }; +} + +class Category { + dynamic id; + dynamic name; + dynamic description; + dynamic image; + dynamic slug; + int? level; + bool? isActive; + DateTime? createdAt; + DateTime? updatedAt; + dynamic parentCategoryId; + dynamic path; + List? childCategories; + + Category({ + this.id, + this.name, + this.description, + this.image, + this.slug, + this.level, + this.isActive, + this.createdAt, + this.updatedAt, + this.parentCategoryId, + this.path, + this.childCategories, + }); + + factory Category.fromJson(Map json) => Category( + id: json["id"], + name: json["name"], + description: json["description"], + image: json["image"], + slug: json["slug"], + level: json["level"], + isActive: json["isActive"], + createdAt: json["createdAt"] == null + ? null + : DateTime.parse(json["createdAt"]), + updatedAt: json["updatedAt"] == null + ? null + : DateTime.parse(json["updatedAt"]), + parentCategoryId: json["parentCategoryId"], + path: json["path"], + childCategories: json["childCategories"] == null + ? [] + : List.from( + json["childCategories"].map((x) => Category.fromJson(x))), + ); + + Map toJson() => { + "id": id, + "name": name, + "description": description, + "image": image, + "slug": slug, + "level": level, + "isActive": isActive, + "createdAt": createdAt?.toIso8601String(), + "updatedAt": updatedAt?.toIso8601String(), + "parentCategoryId": parentCategoryId, + "path": path, + "childCategories": childCategories == null + ? [] + : List.from(childCategories!.map((x) => x.toJson())), + }; +} + +class Meta { + int? total; + int? page; + int? limit; + int? lastPage; + bool? hasNextPage; + bool? hasPreviousPage; + + Meta({ + this.total, + this.page, + this.limit, + this.lastPage, + this.hasNextPage, + this.hasPreviousPage, + }); + + factory Meta.fromJson(Map json) => Meta( + total: json["total"], + page: json["page"], + limit: json["limit"], + lastPage: json["lastPage"], + hasNextPage: json["hasNextPage"], + hasPreviousPage: json["hasPreviousPage"], + ); + + Map toJson() => { + "total": total, + "page": page, + "limit": limit, + "lastPage": lastPage, + "hasNextPage": hasNextPage, + "hasPreviousPage": hasPreviousPage, + }; +} diff --git a/lib/src/logic/provider/auth_provider.dart b/lib/src/logic/provider/auth_provider.dart index a467a8c..18b8fcd 100644 --- a/lib/src/logic/provider/auth_provider.dart +++ b/lib/src/logic/provider/auth_provider.dart @@ -160,7 +160,7 @@ class AuthProvider extends ChangeNotifier { ScaffoldMessenger.of(context).showSnackBar( SnackBar( - content: Text("Something went wrong. Please try again."), + content: Text("Something went wrong. Please try again. "), backgroundColor: Colors.red, ), ); diff --git a/lib/src/logic/provider/home_provider.dart b/lib/src/logic/provider/home_provider.dart index 16e5a86..dca051c 100644 --- a/lib/src/logic/provider/home_provider.dart +++ b/lib/src/logic/provider/home_provider.dart @@ -1,21 +1,155 @@ import 'package:flutter/material.dart'; import 'package:grocery_app/src/core/network_services/service_locator.dart'; -import 'package:grocery_app/src/logic/repo/home_repo.dart'; +import 'package:grocery_app/src/core/routes/routes.dart'; +import 'package:grocery_app/src/data/allProduct_model.dart'; +import 'package:grocery_app/src/data/banners.dart'; +import 'package:grocery_app/src/data/best_dealProduct.dart'; +import 'package:grocery_app/src/data/product_category.dart'; +import 'package:grocery_app/src/logic/repo/product_repo.dart'; +import 'package:grocery_app/utils/constants/shared_pref_utils.dart'; +import 'package:grocery_app/utils/extensions/extensions.dart'; class ProductProvider extends ChangeNotifier { final _homeRepo = getIt(); - Future gettAllProduct(BuildContext context) async { + bool isLoadingg = true; + + List products = []; + + Future gettAllProduct(BuildContext context) async { var data = {}; var result = await _homeRepo.getAllProduct(data, context); return result.fold( (error) { - return true; + isLoadingg = false; + notifyListeners(); }, (response) { - return true; + products = response.data!; + isLoadingg = false; + notifyListeners(); }, ); } + + List bestdeal = []; + + bool isBestdealingloading = true; + + Future getBestDealProduct(BuildContext context) async { + var data = {}; + + var result = await _homeRepo.getBestDealProduct(data, context); + return result.fold( + (error) { + isBestdealingloading = false; + notifyListeners(); + }, + (response) { + bestdeal = response.data!; + isBestdealingloading = false; + notifyListeners(); + }, + ); + } + + List categoryList = []; + + bool iscategroyloading = true; + Future getAllcategory(BuildContext context) async { + var data = {}; + + var result = await _homeRepo.getAllcategory(data, context); + return result.fold( + (error) { + print("djhgfjdfhjg ${error}"); + iscategroyloading = false; + notifyListeners(); + }, + (response) { + print("jdshfjghdhfjhgjd"); + categoryList = response.data!; + iscategroyloading = false; + notifyListeners(); + }, + ); + } + + List banner = []; + bool isBannerLoading = true; + + Future getBanners(BuildContext context) async { + var data = {}; + + var result = await _homeRepo.getBanners(data, context); + return result.fold( + (error) { + isBannerLoading = false; + notifyListeners(); + }, + (response) { + banner = response.data!; + isBannerLoading = false; + notifyListeners(); + }, + ); + } + + Future customerLogOut(BuildContext context) async { + context.showLoader(show: true); + + var data = {}; + + try { + var result = await _homeRepo.customerLogOut(data); + + context.showLoader(show: false); + + return result.fold( + (error) { + // Show error Snackbar + ScaffoldMessenger.of(context).showSnackBar( + SnackBar( + content: Text(error.message), + backgroundColor: Colors.red, + ), + ); + return false; // Login failed + }, + (response) async { + ScaffoldMessenger.of(context).showSnackBar( + SnackBar( + content: Text("Store created successful!"), + backgroundColor: Colors.green, + ), + ); + await SharedPrefUtils.clear(); + context.clearAndPush(routePath: MyRoutes.LOGIN); + + return true; + }, + ); + } catch (e) { + context.showLoader(show: false); + print("Unexpected error: $e"); + + ScaffoldMessenger.of(context).showSnackBar( + SnackBar( + content: Text("Something went wrong. Please try again."), + backgroundColor: Colors.red, + ), + ); + return false; + } + } + + int _activeIndex = 0; + + int get activeIndex => _activeIndex; + + void setActiveIndex(int index) { + _activeIndex = index; + notifyListeners(); + } } diff --git a/lib/src/logic/repo/home_repo.dart b/lib/src/logic/repo/home_repo.dart deleted file mode 100644 index df04651..0000000 --- a/lib/src/logic/repo/home_repo.dart +++ /dev/null @@ -1,63 +0,0 @@ -import 'package:dio/dio.dart'; -import 'package:flutter/material.dart'; -import 'package:fpdart/fpdart.dart'; -import 'package:grocery_app/src/core/utils/custom_dio_exception.dart'; -import 'package:grocery_app/src/core/utils/response_type_def.dart'; -import 'package:grocery_app/src/data/allProduct_model.dart'; -import 'package:grocery_app/src/logic/services/home_locator.dart'; - - -class ProductRepo { - final ProductService _productService; - - ProductRepo(this._productService); - - FutureResult getAllProduct(data, BuildContext context) async { - try { - var response = await _productService.getAllProduct(data); - - AllProductModel loginResponse = allProductModelFromJson(response.toString()); - - - - final String model = response.toString(); - - return right(model); - } on DioException catch (e) - { - - - var error = CustomDioExceptions.handleError(e); - return left(error); - } - } - - // FutureResult getMe(data) async { - // try { - // var response = await _homeService.getMe(data); - - // final VendorModel vendorModel = vendorModelFromJson(response.toString()); - - // if (vendorModel != null) - // { - // SharedPrefUtils.USER_NAME = - // vendorModel.firstName + " " + vendorModel.lastName; - // SharedPrefUtils.PHONE = vendorModel.phone; - - // print("dkfjhdkfhkfk ${SharedPrefUtils.USER_NAME}"); - // await SharedPrefUtils.setStoreId(storeId: vendorModel.storeId ?? ""); - - // } - - // final String model = response.toString(); - - // return right(vendorModel); - // } on DioException catch (e) { - // var error = CustomDioExceptions.handleError(e); - // return left(error); - // } - // } - - - -} diff --git a/lib/src/logic/repo/product_repo.dart b/lib/src/logic/repo/product_repo.dart index 2d02df3..8b21ee4 100644 --- a/lib/src/logic/repo/product_repo.dart +++ b/lib/src/logic/repo/product_repo.dart @@ -1,126 +1,123 @@ -// import 'dart:io'; +import 'package:dio/dio.dart'; +import 'package:flutter/material.dart'; +import 'package:fpdart/fpdart.dart'; +import 'package:grocery_app/src/core/utils/custom_dio_exception.dart'; +import 'package:grocery_app/src/core/utils/response_type_def.dart'; +import 'package:grocery_app/src/data/allProduct_model.dart'; +import 'package:grocery_app/src/data/banners.dart'; +import 'package:grocery_app/src/data/best_dealProduct.dart'; +import 'package:grocery_app/src/data/product_category.dart'; +import 'package:grocery_app/src/logic/services/home_locator.dart'; -// import 'package:dio/dio.dart'; -// import 'package:fpdart/fpdart.dart'; -// import 'package:vendor_app/src/core/utiils_lib/custom_dio_exception.dart'; -// import 'package:vendor_app/src/core/utiils_lib/response_type_def.dart'; -// import 'package:vendor_app/src/core/utiils_lib/shared_pref_utils.dart'; -// import 'package:vendor_app/src/data/ProductCategoryModel.dart'; -// import 'package:vendor_app/src/data/prdouct_model.dart'; -// import 'package:vendor_app/src/data/upload_image.dart'; -// import 'package:vendor_app/src/data/vendor_otpModel.dart'; -// import 'package:vendor_app/src/logic/services/product_locator.dart'; -// import 'package:vendor_app/src/logic/services/service_locator.dart'; +class ProductRepo { + final ProductService _productService; -// class ProductRepo { -// final ProductService _productServices; + ProductRepo(this._productService); -// ProductRepo(this._productServices); + FutureResult getAllProduct(data, BuildContext context) async { + try { + var response = await _productService.getAllProduct(data); -// FutureResult getProduct(data) async { -// try { -// var response = await _productServices.getProduct(data); + AllProductModel loginResponse = + allProductModelFromJson(response.toString()); -// final PrdouctModel prdouctModel = -// prdouctModelFromJson(response.toString()); + final String model = response.toString(); -// if (prdouctModel.data!.isNotEmpty) -// { -// print("check data are fetch are note"); -// } + return right(loginResponse); + } on DioException catch (e) { + var error = CustomDioExceptions.handleError(e); + return left(error); + } + } -// // final String model = response.toString(); + FutureResult getBestDealProduct(data, BuildContext context) async { + try { + var response = await _productService.getBestDealProduct(data); -// return right(prdouctModel); -// } on DioException catch (e) { -// var error = CustomDioExceptions.handleError(e); -// return left(error); -// } -// } + BestDealProduct loginResponse = + bestDealProductFromJson(response.toString()); -// FutureResult> getCategoryByLevel(data) async -// { -// try { -// var response = await _productServices.getCategoryByLevel(data); + final String model = response.toString(); -// final List productModels = (response.data as List) -// .map((item) => ProductCategoryModel.fromJson(item)) -// .toList(); -// if (response != null && response.data != null) -// { -// // Parse the response data into a list of ProductCategoryModel -// final List productModels = (response.data as List) -// .map((item) => ProductCategoryModel.fromJson(item)) -// .toList(); + return right(loginResponse); + } on DioException catch (e) { + var error = CustomDioExceptions.handleError(e); + return left(error); + } + } -// // Print or handle the fetched data -// if (productModels.isNotEmpty) -// { -// print( -// "Data successfully fetched and parsed: ${productModels.length} categories."); -// } -// } -// return right(productModels); -// } on DioException catch (e) { -// var error = CustomDioExceptions.handleError(e); -// return left(error); -// } -// } -// FutureResult createProduct(data) async { -// try { -// var response = await _productServices.createProduct(data); -// final String model = response.toString(); + FutureResult getAllcategory(data, BuildContext context) async { + try { + var response = await _productService.getAllcategory(data); -// return right(model); -// } on DioException catch (e) { -// var error = CustomDioExceptions.handleError(e); -// return left(error); -// } -// } - -// FutureResult deleteProduct(data,id) async -// { -// try { -// var response = await _productServices.deleteProduct(data,id); -// final String model = response.toString(); + ProductCategory productCategory = productCategoryFromJson(response.toString()); -// return right(model); -// } on DioException catch (e) { -// var error = CustomDioExceptions.handleError(e); -// return left(error); -// } -// } + // final String model = response.toString(); -// FutureResult updateProduct(data,id) async -// { -// try { -// var response = await _productServices.updateProduct(data,id); -// final String model = response.toString(); - -// return right(model); -// } on DioException catch (e) { -// var error = CustomDioExceptions.handleError(e); -// return left(error); -// } -// } - - - - -// FutureResult uploadImage(File imageFile) -// async { -// try { -// final response = await _productServices.uploadImage(imageFile); -// UploadImage upload=uploadImageFromJson(response.toString()); -// return right(upload); -// } on DioException catch (e) { -// final error = CustomDioExceptions.handleError(e); -// return left(error); -// } -// } - + return right(productCategory); + } on DioException catch (e) + { + print("djhgfjdfhjg ${e}"); + var error = CustomDioExceptions.handleError(e); + return left(error); + } + } -// } + + FutureResult getBanners(data, BuildContext context) async { + try { + var response = await _productService.getBanners(data); + + BannerModel bannerresponse = bannerFromJson(response.toString()); + + final String model = response.toString(); + + return right(bannerresponse); + } on DioException catch (e) { + var error = CustomDioExceptions.handleError(e); + return left(error); + } + } + + FutureResult customerLogOut(data) async { + try { + var response = await _productService.customerLogOut(data); + + final String model = response.toString(); + + return right(model); + } on DioException catch (e) { + var error = CustomDioExceptions.handleError(e); + return left(error); + } + } + + // FutureResult getMe(data) async { + // try { + // var response = await _homeService.getMe(data); + + // final VendorModel vendorModel = vendorModelFromJson(response.toString()); + + // if (vendorModel != null) + // { + // SharedPrefUtils.USER_NAME = + // vendorModel.firstName + " " + vendorModel.lastName; + // SharedPrefUtils.PHONE = vendorModel.phone; + + // print("dkfjhdkfhkfk ${SharedPrefUtils.USER_NAME}"); + // await SharedPrefUtils.setStoreId(storeId: vendorModel.storeId ?? ""); + + // } + + // final String model = response.toString(); + + // return right(vendorModel); + // } on DioException catch (e) { + // var error = CustomDioExceptions.handleError(e); + // return left(error); + // } + // } +} diff --git a/lib/src/logic/services/home_locator.dart b/lib/src/logic/services/home_locator.dart index 2d6f40f..c52c712 100644 --- a/lib/src/logic/services/home_locator.dart +++ b/lib/src/logic/services/home_locator.dart @@ -3,25 +3,22 @@ import 'dart:convert'; import 'package:grocery_app/src/core/constant/api.dart'; import 'package:grocery_app/src/core/network_services/api_services.dart'; - class ProductService extends ApiService { - - Future getMe(data) async { + Future getMe(data) async { var response = await api.get(APIURL.getMe, data: jsonEncode(data)); //response.statusCode return response; } - Future refresh_token(data) async - { + Future refresh_token(data) async { var response = await api.post(APIURL.refresh_token, data: jsonEncode(data)); - return response; } - Future getAllProduct(data) async { + Future getAllProduct(data) async + { var response = await api.get(APIURL.getAllProduct, data: jsonEncode(data)); return response; @@ -30,5 +27,31 @@ class ProductService extends ApiService { + Future getBestDealProduct(data) async + { + var response = await api.get(APIURL.getBestDealProduct, data: jsonEncode(data)); + return response; + } + + Future getAllcategory(data) async + { + var response = await api.get(APIURL.getAllcategory, data: jsonEncode(data)); + + return response; + } + + + + Future getBanners(data) async { + var response = await api.get(APIURL.getBanners, data: jsonEncode(data)); + + return response; + } + + Future customerLogOut(data) async { + var response = await api.post(APIURL.customerLogOut, data: jsonEncode(data)); + + return response; + } } diff --git a/lib/src/ui/fruitvegidetail/fruit_veggie_detail.dart b/lib/src/ui/fruitvegidetail/fruit_veggie_detail.dart index e8b1465..23e9b01 100644 --- a/lib/src/ui/fruitvegidetail/fruit_veggie_detail.dart +++ b/lib/src/ui/fruitvegidetail/fruit_veggie_detail.dart @@ -1,10 +1,12 @@ import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:grocery_app/src/common_widget/network_image.dart'; +import 'package:grocery_app/src/logic/provider/home_provider.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:provider/provider.dart'; class FruitVeggieDetail extends StatefulWidget { const FruitVeggieDetail({super.key}); @@ -14,17 +16,19 @@ class FruitVeggieDetail extends StatefulWidget { } class _FruitVeggieDetailState extends State { - int activeIndex = 0; + @override + void initState() { + Provider.of(context, listen: false) + .getAllcategory(context); - void changeActiveIndex(int currentActiveIndex) { - activeIndex = currentActiveIndex; - setState(() {}); + super.initState(); } @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( + backgroundColor: Colors.transparent, centerTitle: true, leading: Center( child: SizedBox( @@ -62,175 +66,373 @@ class _FruitVeggieDetailState extends State { ], ), body: Row( - children: [ - Container( - decoration: const BoxDecoration(color: Colors.white), - width: 100, - child: ListView.builder( - itemCount: 10, - scrollDirection: Axis.vertical, - itemBuilder: (context, index) { - return InkWell( - onTap: () { - changeActiveIndex(index); - }, - child: SizedBox( - height: 150, - child: Column( - children: [ - Row( + children: [filterCategory(), productWidget()], + ), + ); + } + + Widget productWidget() { + return Consumer(builder: (context, provider, child) { + if (provider.isLoadingg) { + return Center(child: CircularProgressIndicator()); + } else if (provider.products.isEmpty) { + return Center(child: Text('No products available')); + } else { + return Expanded( + child: Padding( + padding: const EdgeInsets.only(left: 10, right: 10), + child: LayoutBuilder( + builder: (context, constraints) { + final itemWidth = (constraints.maxWidth - 20) / 2; + final itemHeight = itemWidth * 1.5; + + return GridView.builder( + itemCount: provider.products.length, + gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( + crossAxisCount: 2, + childAspectRatio: itemWidth / itemHeight, + crossAxisSpacing: 10, + mainAxisSpacing: 10, + ), + itemBuilder: (context, index) { + var product = provider.products[index]; + return Container( + height: itemHeight, + 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: [ - Expanded( - child: Center( - child: Container( - decoration: BoxDecoration( - color: activeIndex == index ? Colors.greenAccent.withOpacity(0.1) : APPCOLOR.bgGrey, - borderRadius: BorderRadius.circular(5), + Container( + height: itemWidth * + 0.6, // Adjust height for image container + width: itemWidth, + decoration: BoxDecoration( + color: APPCOLOR.bgGrey, + borderRadius: BorderRadius.circular(15), + ), + child: Stack( + alignment: Alignment.center, + children: [ + AppNetworkImage( + height: 70, + width: 70, + imageUrl: product + .productImages!.first.url ?? + "https://5.imimg.com/data5/SELLER/Default/2024/2/385126988/OL/DA/VW/8627346/1l-fortune-sunflower-oil.jpg", + backGroundColor: Colors.transparent, ), - child: AppNetworkImage( - height: 80, - width: 80, - imageUrl: 'https://i.pinimg.com/originals/a5/f3/5f/a5f35fb23e942809da3df91b23718e8d.png', - backGroundColor: APPCOLOR.bgGrey, - radius: 10, + Positioned( + right: 5, + top: 5, + child: Icon(Icons.favorite_border), ), - ), + ], ), ), - Container( - width: 3, - height: 100, - color: activeIndex == index ? APPCOLOR.lightGreen : Colors.transparent, - ) + const SizedBox(height: 5), + Text( + product.name ?? " ", + textAlign: TextAlign.left, + maxLines: 2, + overflow: TextOverflow.ellipsis, + style: context.customMedium( + APPCOLOR.balck1A1A1A, 14), + ), + const SizedBox(height: 5), + Text( + product.unit ?? " ", + textAlign: TextAlign.left, + maxLines: 1, + overflow: TextOverflow.ellipsis, + style: context.customMedium( + Colors.grey.withOpacity(0.8), + 12, + ), + ), + const SizedBox(height: 3), + Row( + children: [ + Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + "\$${product.discountPrice ?? " "}", + textAlign: TextAlign.left, + maxLines: 1, + overflow: TextOverflow.ellipsis, + style: context.customSemiBold( + Colors.black, 12), + ), + const SizedBox(width: 5), + Text( + "\$${product.basePrice ?? " "}", + textAlign: TextAlign.left, + maxLines: 1, + overflow: TextOverflow.ellipsis, + style: context + .customMedium( + Colors.grey.withOpacity(0.8), + 12, + ) + .copyWith( + decoration: + TextDecoration.lineThrough, + ), + ), + ], + ), + Expanded( + child: Align( + alignment: Alignment.centerRight, + child: Container( + height: 40, + width: 60, + decoration: BoxDecoration( + color: APPCOLOR.lightGreen, + borderRadius: BorderRadius.circular(5), + ), + child: Center( + child: Text( + 'Add', + style: context.customRegular( + Colors.white, 12), + ), + ), + ), + ), + ), + ], + ), ], ), - Text( - "Fresh Vegitables", - textAlign: TextAlign.center, - maxLines: 2, - overflow: TextOverflow.ellipsis, - style: activeIndex == index ? context.customExtraBold(APPCOLOR.balck1A1A1A, 14) : context.customMedium(APPCOLOR.balck1A1A1A, 14), - ) - ], - ), - ), + ), + ); + }, ); }, ), ), - Expanded( - child: Padding( - padding: const EdgeInsets.only(left: 10, right: 10), - child: GridView.builder( - itemCount: 20, - gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( - crossAxisCount: 2, childAspectRatio: MediaQuery.of(context).size.width / (MediaQuery.of(context).size.height / 1.1), crossAxisSpacing: 10, mainAxisSpacing: 10), - itemBuilder: (context, index) { - return Container( - height: 300, - // width: 150, - 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: [ - Container( - height: 100, - width: 150, - decoration: BoxDecoration(color: APPCOLOR.bgGrey, borderRadius: BorderRadius.circular(15)), - child: const Stack( - alignment: Alignment.center, - children: [ - AppNetworkImage( - height: 70, - width: 70, - imageUrl: "https://5.imimg.com/data5/SELLER/Default/2024/2/385126988/OL/DA/VW/8627346/1l-fortune-sunflower-oil.jpg", - backGroundColor: Colors.transparent), - Positioned(right: 5, top: 5, child: Icon(Icons.favorite_border)) - ], - ), - ), - Text( - "Fortune Arhar Dal (Toor Dal)", - textAlign: TextAlign.left, - maxLines: 2, - overflow: TextOverflow.ellipsis, - style: context.customMedium(APPCOLOR.balck1A1A1A, 14), - ), - const SizedBox( - height: 5, - ), - Text( - "500 ML", - textAlign: TextAlign.left, - maxLines: 1, - overflow: TextOverflow.ellipsis, - style: context.customMedium(Colors.grey.withOpacity(0.8), 12), - ), - const SizedBox( - height: 3, - ), - Row( - children: [ - Column( - children: [ - Text( - "\$12", - textAlign: TextAlign.left, - maxLines: 1, - overflow: TextOverflow.ellipsis, - style: context.customSemiBold(Colors.black, 12), + ); + + // Expanded( + // child: Padding( + // padding: const EdgeInsets.only(left: 10, right: 10), + // child: GridView.builder( + // itemCount: provider.products.length, + // gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( + // crossAxisCount: 2, + // childAspectRatio: MediaQuery.of(context).size.width / + // (MediaQuery.of(context).size.height / 1.1), + // crossAxisSpacing: 10, + // mainAxisSpacing: 10), + // itemBuilder: (context, index) { + // return Container( + // height: MediaQuery.of(context).size.height * 0.28, + // // width: 150, + // 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: [ + // Container( + // height: 100, + // width: 150, + // decoration: BoxDecoration( + // color: APPCOLOR.bgGrey, + // borderRadius: BorderRadius.circular(15)), + // child: const Stack( + // alignment: Alignment.center, + // children: [ + // AppNetworkImage( + // height: 70, + // width: 70, + // imageUrl: + // "https://5.imimg.com/data5/SELLER/Default/2024/2/385126988/OL/DA/VW/8627346/1l-fortune-sunflower-oil.jpg", + // backGroundColor: Colors.transparent), + // Positioned( + // right: 5, + // top: 5, + // child: Icon(Icons.favorite_border)) + // ], + // ), + // ), + // Text( + // "Fortune Arhar Dal (Toor Dal)", + // textAlign: TextAlign.left, + // maxLines: 2, + // overflow: TextOverflow.ellipsis, + // style: context.customMedium(APPCOLOR.balck1A1A1A, 14), + // ), + // const SizedBox( + // height: 5, + // ), + // Text( + // "500 ML", + // textAlign: TextAlign.left, + // maxLines: 1, + // overflow: TextOverflow.ellipsis, + // style: context.customMedium( + // Colors.grey.withOpacity(0.8), 12), + // ), + // const SizedBox( + // height: 3, + // ), + // Row( + // children: [ + // Column( + // children: [ + // Text( + // "\$12", + // textAlign: TextAlign.left, + // maxLines: 1, + // overflow: TextOverflow.ellipsis, + // style: context.customSemiBold(Colors.black, 12), + // ), + // const SizedBox( + // width: 5, + // ), + // Text( + // "\$14", + // textAlign: TextAlign.left, + // maxLines: 1, + // overflow: TextOverflow.ellipsis, + // style: context + // .customMedium( + // Colors.grey.withOpacity(0.8), 12) + // .copyWith( + // decoration: TextDecoration.lineThrough, + // ), + // ), + // ], + // ), + // Expanded( + // child: Align( + // alignment: Alignment.centerRight, + // child: Container( + // height: 40, + // width: 60, + // decoration: BoxDecoration( + // color: APPCOLOR.lightGreen, + // borderRadius: BorderRadius.circular(5), + // ), + // child: Center( + // child: Text( + // 'Add', + // style: + // context.customRegular(Colors.white, 12), + // )), + // ), + // ), + // ) + // ], + // ), + // ], + // ), + // ), + // ); + // }, + // ), + // )); + } + }); + } + + Widget filterCategory() { + final activeIndexProvider = Provider.of(context); + return Consumer(builder: (context, provider, child) { + if (provider.iscategroyloading) { + return Center(child: CircularProgressIndicator()); + } else if (provider.categoryList.isEmpty) { + return Center(child: Text('No products available')); + } else { + return Container( + decoration: const BoxDecoration(color: Colors.white), + width: 100, + child: ListView.builder( + itemCount: provider.categoryList.length, + scrollDirection: Axis.vertical, + itemBuilder: (context, index) { + var category = provider.categoryList[index]; + return InkWell( + onTap: () + { + activeIndexProvider.setActiveIndex(index); + }, + child: SizedBox( + height: 150, + child: Column( + children: [ + Row( + children: [ + Expanded( + child: Center( + child: Container( + decoration: BoxDecoration( + color: + activeIndexProvider.activeIndex == index + ? Colors.greenAccent.withOpacity(0.1) + : APPCOLOR.bgGrey, + borderRadius: BorderRadius.circular(5), ), - const SizedBox( - width: 5, - ), - Text( - "\$14", - textAlign: TextAlign.left, - maxLines: 1, - overflow: TextOverflow.ellipsis, - style: context.customMedium(Colors.grey.withOpacity(0.8), 12).copyWith( - decoration: TextDecoration.lineThrough, - ), - ), - ], - ), - Expanded( - child: Align( - alignment: Alignment.centerRight, - child: Container( - height: 40, - width: 60, - decoration: BoxDecoration( - color: APPCOLOR.lightGreen, - borderRadius: BorderRadius.circular(5), - ), - child: Center( - child: Text( - 'Add', - style: context.customRegular(Colors.white, 12), - )), + child: AppNetworkImage( + height: 80, + width: 80, + imageUrl: category.image ?? + 'https://i.pinimg.com/originals/a5/f3/5f/a5f35fb23e942809da3df91b23718e8d.png', + backGroundColor: APPCOLOR.bgGrey, + radius: 10, ), ), - ) - ], - ), - ], - ), + ), + ), + Container( + width: 3, + height: 100, + color: activeIndexProvider.activeIndex == index + ? APPCOLOR.lightGreen + : Colors.transparent, + ), + ], + ), + Text( + category.name, + textAlign: TextAlign.center, + maxLines: 2, + overflow: TextOverflow.ellipsis, + style: activeIndexProvider.activeIndex == index + ? context.customExtraBold(APPCOLOR.balck1A1A1A, 14) + : context.customMedium(APPCOLOR.balck1A1A1A, 14), + ), + ], ), - ); - }, - ), - )) - ], - ), - ); + ), + ); + }, + ), + ); + } + }); } } diff --git a/lib/src/ui/home/home_screen.dart b/lib/src/ui/home/home_screen.dart index fab08e3..ed1850b 100644 --- a/lib/src/ui/home/home_screen.dart +++ b/lib/src/ui/home/home_screen.dart @@ -1,10 +1,16 @@ +import 'package:carousel_slider/carousel_slider.dart'; import 'package:flutter/material.dart'; +import 'package:go_router/go_router.dart'; import 'package:grocery_app/src/common_widget/network_image.dart'; +import 'package:grocery_app/src/core/routes/routes.dart'; +import 'package:grocery_app/src/logic/provider/home_provider.dart'; import 'package:grocery_app/src/ui/bestdeal/bestdeal_screen.dart'; import 'package:grocery_app/src/ui/fruitvegidetail/fruit_veggie_detail.dart'; import 'package:grocery_app/utils/constants/color_constant.dart'; +import 'package:grocery_app/utils/extensions/extensions.dart'; import 'package:grocery_app/utils/extensions/uicontext.dart'; import 'package:material_design_icons_flutter/material_design_icons_flutter.dart'; +import 'package:provider/provider.dart'; class HomeScreen extends StatefulWidget { const HomeScreen({super.key}); @@ -15,6 +21,19 @@ class HomeScreen extends StatefulWidget { class _HomeScreenState extends State { @override + void initState() { + super.initState(); + + Provider.of(context, listen: false).getBanners(context); + Provider.of(context, listen: false) + .gettAllProduct(context); + + Provider.of(context, listen: false) + .getBestDealProduct(context); + Provider.of(context, listen: false) + .getAllcategory(context); + } + @override Widget build(BuildContext context) { return SafeArea( @@ -46,7 +65,8 @@ class _HomeScreenState extends State { children: [ Text( "Home", - style: context.customMedium(APPCOLOR.black333333, 18), + style: context.customMedium( + APPCOLOR.black333333, 18), ), const SizedBox( width: 5, @@ -92,9 +112,11 @@ class _HomeScreenState extends State { fillColor: Colors.transparent, prefixIcon: Icon(MdiIcons.magnify), hintText: 'Search', - hintStyle: context.customRegular(APPCOLOR.grey666666, 18), + hintStyle: + context.customRegular(APPCOLOR.grey666666, 18), isCollapsed: true, - contentPadding: const EdgeInsets.symmetric(vertical: 10, horizontal: 10), + contentPadding: const EdgeInsets.symmetric( + vertical: 10, horizontal: 10), ), ), ), @@ -132,11 +154,13 @@ class _HomeScreenState extends State { ), InkWell( onTap: () { - Navigator.of(context).push(MaterialPageRoute( - builder: (context) { - return const FruitVeggieDetail(); - }, - )); + // Navigator.of(context).push(MaterialPageRoute( + // builder: (context) { + // return const FruitVeggieDetail(); + // }, + // )); + + context.push(MyRoutes.FRUITVEGGIEDETAIL); }, child: Text( "See All", @@ -148,98 +172,11 @@ class _HomeScreenState extends State { const SizedBox( height: 15, ), - GridView.builder( - shrinkWrap: true, - itemCount: 8, - physics: const NeverScrollableScrollPhysics(), - gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( - crossAxisCount: 4, - crossAxisSpacing: 5, - mainAxisSpacing: 5, - childAspectRatio: MediaQuery.of(context).size.width / (MediaQuery.of(context).size.height / 1.2), - ), - itemBuilder: (context, index) - { - return InkWell( - onTap: () {}, - child: SizedBox( - child: Column( - crossAxisAlignment: CrossAxisAlignment.center, - children: [ - Container( - decoration: BoxDecoration( - color: APPCOLOR.bgGrey, - borderRadius: BorderRadius.circular(5), - ), - child: AppNetworkImage( - height: 80, - width: 80, - imageUrl: 'https://i.pinimg.com/originals/a5/f3/5f/a5f35fb23e942809da3df91b23718e8d.png', - backGroundColor: APPCOLOR.bgGrey, - radius: 10, - ), - ), - const SizedBox( - height: 10, - ), - Text( - "Vegitables and Fruits", - textAlign: TextAlign.center, - maxLines: 2, - overflow: TextOverflow.ellipsis, - style: context.customMedium(APPCOLOR.balck1A1A1A, 14), - ) - ], - ), - ), - ); - }, - ), + categoriesProduct(), const SizedBox( height: 15, ), - Container( - height: 180, - decoration: BoxDecoration(color: Colors.greenAccent.withOpacity(0.1), borderRadius: BorderRadius.circular(15)), - child: Stack( - children: [ - Positioned( - top: 15, - left: 15, - child: SizedBox( - width: 200, - child: Text( - "World Food Festival, Bring the world to your Kitchen!", - style: context.customExtraBold(Colors.black, 18), - ))), - Positioned( - bottom: 15, - left: 15, - child: Container( - height: 40, - width: 100, - decoration: BoxDecoration( - color: APPCOLOR.lightGreen, - borderRadius: BorderRadius.circular(5), - ), - child: Center( - child: Text( - 'Shop now', - style: context.customRegular(Colors.white, 14), - )), - ), - ), - const Positioned( - right: 15, - bottom: 15, - child: AppNetworkImage( - height: 130, - width: 150, - imageUrl: 'https://e7.pngegg.com/pngimages/742/816/png-clipart-coca-cola-can-illustration-coca-cola-soft-drink-surge-pepsi-coke-sweetness-cola-thumbnail.png', - backGroundColor: Colors.transparent)) - ], - ), - ), + bannerview(), const SizedBox( height: 15, ), @@ -270,119 +207,7 @@ class _HomeScreenState extends State { const SizedBox( height: 15, ), - SizedBox( - height: 222, - child: ListView.builder( - itemCount: 5, - scrollDirection: Axis.horizontal, - itemBuilder: (context, index) { - return Padding( - padding: const EdgeInsets.only(right: 10, bottom: 5, top: 5), - child: Container( - height: 215, - width: 150, - 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: [ - Container( - height: 100, - width: 150, - decoration: BoxDecoration(color: APPCOLOR.bgGrey, borderRadius: BorderRadius.circular(15)), - child: const Stack( - alignment: Alignment.center, - children: [ - AppNetworkImage( - height: 70, - width: 70, - imageUrl: "https://5.imimg.com/data5/SELLER/Default/2024/2/385126988/OL/DA/VW/8627346/1l-fortune-sunflower-oil.jpg", - backGroundColor: Colors.transparent), - Positioned(right: 5, top: 5, child: Icon(Icons.favorite_border)) - ], - ), - ), - Text( - "Fortune Arhar Dal (Toor Dal)", - textAlign: TextAlign.left, - maxLines: 2, - overflow: TextOverflow.ellipsis, - style: context.customMedium(APPCOLOR.balck1A1A1A, 14), - ), - const SizedBox( - height: 5, - ), - Text( - "500 ML", - textAlign: TextAlign.left, - maxLines: 1, - overflow: TextOverflow.ellipsis, - style: context.customMedium(Colors.grey.withOpacity(0.8), 12), - ), - const SizedBox( - height: 3, - ), - Row( - children: [ - Expanded( - child: Row( - children: [ - Text( - "\$12", - textAlign: TextAlign.left, - maxLines: 1, - overflow: TextOverflow.ellipsis, - style: context.customSemiBold(Colors.black, 12), - ), - const SizedBox( - width: 5, - ), - Text( - "\$14", - textAlign: TextAlign.left, - maxLines: 1, - overflow: TextOverflow.ellipsis, - style: context.customMedium(Colors.grey.withOpacity(0.8), 12).copyWith( - decoration: TextDecoration.lineThrough, - ), - ), - ], - )), - Expanded( - child: Align( - alignment: Alignment.centerRight, - child: Container( - height: 30, - width: 50, - decoration: BoxDecoration( - color: APPCOLOR.lightGreen, - borderRadius: BorderRadius.circular(5), - ), - child: Center( - child: Text( - 'Add', - style: context.customRegular(Colors.white, 12), - )), - ), - ), - ) - ], - ), - ], - ), - ), - ), - ); - }, - ), - ), + bestDeal(), const SizedBox( height: 20, ), @@ -394,9 +219,371 @@ class _HomeScreenState extends State { ); } - @override - void initState() { - // SizeConfig().init(context); - super.initState(); + // Widget bannerview() { + // return Consumer(builder: (context, provider, child) + // { + // if (provider.isBannerLoading) { + // return Center(child: CircularProgressIndicator()); + // } else if (provider.banner.isEmpty) { + // return Center(child: Text('No products available')); + // } else { + // return + // Container( + // height: 180, + // decoration: BoxDecoration( + // color: Colors.greenAccent.withOpacity(0.1), + // borderRadius: BorderRadius.circular(15)), + // child: Stack( + // children: [ + // Positioned( + // top: 15, + // left: 15, + // child: SizedBox( + // width: 200, + // child: Text( + // "World Food Festival, Bring the world to your Kitchen!", + // style: context.customExtraBold(Colors.black, 18), + // ))), + // Positioned( + // bottom: 15, + // left: 15, + // child: Container( + // height: 40, + // width: 100, + // decoration: BoxDecoration( + // color: APPCOLOR.lightGreen, + // borderRadius: BorderRadius.circular(5), + // ), + // child: Center( + // child: Text( + // 'Shop now', + // style: context.customRegular(Colors.white, 14), + // )), + // ), + // ), + // const Positioned( + // right: 15, + // bottom: 15, + // child: AppNetworkImage( + // height: 130, + // width: 150, + // imageUrl: + // 'https://e7.pngegg.com/pngimages/742/816/png-clipart-coca-cola-can-illustration-coca-cola-soft-drink-surge-pepsi-coke-sweetness-cola-thumbnail.png', + // backGroundColor: Colors.transparent)) + // ], + // ), + // ); + // } + // }); + // } + + Widget bestDeal() { + 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 SizedBox( + height: MediaQuery.of(context).size.height * 0.28, + child: ListView.builder( + itemCount: provider.bestdeal.length, + scrollDirection: Axis.horizontal, + itemBuilder: (context, index) { + var bestdealproduct = provider.bestdeal[index]; + double cardWidth = + MediaQuery.of(context).size.width * 0.4; // Dynamic width + + return 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: 5, + top: 5, + child: Icon(Icons.favorite_border), + ), + ], + ), + ), + ), + 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, + ), + 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: 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: Text( + 'Add', + style: + context.customRegular(Colors.white, 12), + ), + ), + ), + ), + ], + ), + ], + ), + ), + ), + ); + }, + ), + ); + } + }); + } + + Widget bannerview() { + return Consumer(builder: (context, provider, child) { + if (provider.isBannerLoading) { + return Center(child: CircularProgressIndicator()); + } else if (provider.banner.isEmpty) { + return Center(child: Text('No products available')); + } else { + return CarouselSlider( + options: CarouselOptions( + height: 180, + + autoPlay: true, + enlargeCenterPage: true, + + viewportFraction: 1, + aspectRatio: 16 / 9, + initialPage: 0, + enableInfiniteScroll: true, + reverse: false, + + autoPlayInterval: Duration(seconds: 3), + autoPlayAnimationDuration: Duration(milliseconds: 800), + autoPlayCurve: Curves.fastOutSlowIn, + + enlargeFactor: 0.3, + //aspectRatio: 16 / 9, + //viewportFraction: 0.9, + ), + items: provider.banner.map((banner) { + return Builder( + builder: (BuildContext context) { + return Container( + width: MediaQuery.of(context).size.width, + // margin: const EdgeInsets.symmetric(horizontal: 8.0), + decoration: BoxDecoration( + color: Colors.greenAccent.withOpacity(0.1), + borderRadius: BorderRadius.circular(15), + ), + child: Stack( + children: [ + Positioned( + top: 15, + left: 15, + child: SizedBox( + width: 200, + child: Text( + banner.altText ?? "Special Event", + style: context.customExtraBold(Colors.black, 18), + ), + ), + ), + Positioned( + bottom: 15, + left: 15, + child: GestureDetector( + onTap: () { + // Add your navigation or shop action here + }, + child: Container( + height: 40, + width: 100, + decoration: BoxDecoration( + color: APPCOLOR.lightGreen, + borderRadius: BorderRadius.circular(5), + ), + child: Center( + child: Text( + 'Shop now', + style: context.customRegular(Colors.white, 14), + ), + ), + ), + ), + ), + Positioned( + right: 15, + bottom: 15, + child: AppNetworkImage( + height: 130, + width: 150, + imageUrl: banner.imageUrl ?? + 'https://e7.pngegg.com/pngimages/742/816/png-clipart-coca-cola-can-illustration-coca-cola-soft-drink-surge-pepsi-coke-sweetness-cola-thumbnail.png', + backGroundColor: Colors.transparent, + ), + ), + ], + ), + ); + }, + ); + }).toList(), + ); + } + }); + } + + Widget categoriesProduct() { + return Consumer(builder: (context, provider, child) { + if (provider.isLoadingg) { + return Center(child: CircularProgressIndicator()); + } else if (provider.products.isEmpty) { + return Center(child: Text('No products available')); + } else { + return GridView.builder( + shrinkWrap: true, + itemCount: provider.products.length, + physics: const NeverScrollableScrollPhysics(), + gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( + crossAxisCount: 4, + crossAxisSpacing: 5, + mainAxisSpacing: 5, + childAspectRatio: MediaQuery.of(context).size.width / + (MediaQuery.of(context).size.height / 1.2), + ), + itemBuilder: (context, index) { + var product = provider.products[index]; + return InkWell( + onTap: () {}, + child: SizedBox( + child: Column( + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Container( + decoration: BoxDecoration( + color: APPCOLOR.bgGrey, + borderRadius: BorderRadius.circular(5), + ), + child: AppNetworkImage( + height: 80, + width: 80, + imageUrl: product.productImages!.first.url, + //'https://i.pinimg.com/originals/a5/f3/5f/a5f35fb23e942809da3df91b23718e8d.png', + backGroundColor: APPCOLOR.bgGrey, + radius: 10, + ), + ), + const SizedBox( + height: 10, + ), + Text( + "Vegitables and Fruits", + textAlign: TextAlign.center, + maxLines: 2, + overflow: TextOverflow.ellipsis, + style: context.customMedium(APPCOLOR.balck1A1A1A, 14), + ) + ], + ), + ), + ); + }, + ); + } + }); } } diff --git a/lib/src/ui/profilepage/profile_screen.dart b/lib/src/ui/profilepage/profile_screen.dart index c6e813a..d41afba 100644 --- a/lib/src/ui/profilepage/profile_screen.dart +++ b/lib/src/ui/profilepage/profile_screen.dart @@ -1,5 +1,6 @@ import 'package:flutter/material.dart'; 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/message/message_screen.dart'; @@ -9,6 +10,7 @@ import 'package:grocery_app/src/ui/static_page/static_page_screen.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:provider/provider.dart'; class ProfileScreen extends StatefulWidget { const ProfileScreen({super.key}); @@ -32,7 +34,8 @@ class _ProfileScreenState extends State { pinned: true, backgroundColor: Colors.white, leading: const SizedBox(), - flexibleSpace: LayoutBuilder(builder: (BuildContext context, BoxConstraints constraints) { + flexibleSpace: LayoutBuilder( + builder: (BuildContext context, BoxConstraints constraints) { top = constraints.biggest.height; return FlexibleSpaceBar( @@ -44,7 +47,8 @@ class _ProfileScreenState extends State { top > 100 ? Text( "My Profile", - style: context.customExtraBold(Colors.white, 14), + style: + context.customExtraBold(Colors.white, 14), ) : const SizedBox(), @@ -63,7 +67,8 @@ class _ProfileScreenState extends State { AppNetworkImage( height: top < 150 ? 30 : 50, width: top < 150 ? 30 : 50, - imageUrl: "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTdQLwDqDwd2JfzifvfBTFT8I7iKFFevcedYg&s", + imageUrl: + "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTdQLwDqDwd2JfzifvfBTFT8I7iKFFevcedYg&s", radius: 90, backGroundColor: Colors.white, boxFit: BoxFit.fill, @@ -75,7 +80,12 @@ class _ProfileScreenState extends State { child: Container( height: 18, width: 18, - decoration: BoxDecoration(color: APPCOLOR.lightGreen, border: Border.all(color: Colors.white), borderRadius: BorderRadius.circular(5)), + decoration: BoxDecoration( + color: APPCOLOR.lightGreen, + border: Border.all( + color: Colors.white), + borderRadius: + BorderRadius.circular(5)), child: Center( child: Icon( MdiIcons.pencil, @@ -97,11 +107,15 @@ class _ProfileScreenState extends State { children: [ Text( "Smith Mate", - style: context.customExtraBold(top < 100 ? Colors.black : Colors.white, 14), + style: context.customExtraBold( + top < 100 ? Colors.black : Colors.white, + 14), ), Text( 'smithmate@example.com', - style: context.customRegular(top < 100 ? Colors.black : Colors.white, 10), + style: context.customRegular( + top < 100 ? Colors.black : Colors.white, + 10), ) ], ), @@ -114,7 +128,11 @@ class _ProfileScreenState extends State { ), background: Container( height: 200, - decoration: BoxDecoration(color: APPCOLOR.lightGreen, borderRadius: const BorderRadius.only(bottomLeft: Radius.circular(30), bottomRight: Radius.circular(30))), + decoration: BoxDecoration( + color: APPCOLOR.lightGreen, + borderRadius: const BorderRadius.only( + bottomLeft: Radius.circular(30), + bottomRight: Radius.circular(30))), )); }), ), @@ -122,6 +140,7 @@ class _ProfileScreenState extends State { }, body: Column( children: [ + Expanded( child: SingleChildScrollView( child: Column( @@ -238,27 +257,39 @@ class _ProfileScreenState extends State { ), ), ), - Container( - margin: const EdgeInsets.only(left: 15, right: 15, top: 10, bottom: 10), - height: 50, - width: MediaQuery.sizeOf(context).width, - decoration: BoxDecoration(color: APPCOLOR.lightGreen, borderRadius: BorderRadius.circular(10)), - child: Row( - mainAxisAlignment: MainAxisAlignment.center, - crossAxisAlignment: CrossAxisAlignment.center, - children: [ - Icon( - MdiIcons.logout, - color: Colors.white, - ), - const SizedBox( - width: 10, - ), - Text( - "Logout", - style: context.customMedium(Colors.white, 16), - ), - ], + + InkWell( + onTap: () + { + print("fjnghkjfjghj"); + Provider.of(context, listen: false) + .customerLogOut(context); + }, + child: Container( + margin: const EdgeInsets.only( + left: 15, right: 15, top: 10, bottom: 10), + height: 50, + width: MediaQuery.sizeOf(context).width, + decoration: BoxDecoration( + color: APPCOLOR.lightGreen, + borderRadius: BorderRadius.circular(10)), + child: Row( + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Icon( + MdiIcons.logout, + color: Colors.white, + ), + const SizedBox( + width: 10, + ), + Text( + "Logout", + style: context.customMedium(Colors.white, 16), + ), + ], + ), ), ), ], diff --git a/macos/Flutter/GeneratedPluginRegistrant.swift b/macos/Flutter/GeneratedPluginRegistrant.swift index cdad00f..3500c1a 100644 --- a/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/macos/Flutter/GeneratedPluginRegistrant.swift @@ -8,7 +8,7 @@ import Foundation import connectivity_plus import path_provider_foundation import shared_preferences_foundation -import sqflite +import sqflite_darwin func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { ConnectivityPlusPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlusPlugin")) diff --git a/pubspec.lock b/pubspec.lock index 9723b2c..d5ecfbf 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -21,10 +21,10 @@ packages: dependency: transitive description: name: args - sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" + sha256: bf9f5caeea8d8fe6721a9c358dd8a5c1947b27f1cfaa18b39c301273594919e6 url: "https://pub.dev" source: hosted - version: "2.5.0" + version: "2.6.0" async: dependency: transitive description: @@ -125,10 +125,10 @@ packages: dependency: transitive description: name: crypto - sha256: ec30d999af904f33454ba22ed9a86162b35e52b44ac4807d1d93c288041d7d27 + sha256: "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855" url: "https://pub.dev" source: hosted - version: "3.0.5" + version: "3.0.6" cupertino_icons: dependency: "direct main" description: @@ -197,18 +197,18 @@ packages: dependency: transitive description: name: file - sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c" + sha256: a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4 url: "https://pub.dev" source: hosted - version: "7.0.0" + version: "7.0.1" fixnum: dependency: transitive description: name: fixnum - sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1" + sha256: b6dc7065e46c974bc7c5f143080a6764ec7a4be6da1285ececdc37be96de53be url: "https://pub.dev" source: hosted - version: "1.1.0" + version: "1.1.1" flutter: dependency: "direct main" description: flutter @@ -258,10 +258,10 @@ packages: dependency: "direct main" description: name: flutter_svg - sha256: "7b4ca6cf3304575fe9c8ec64813c8d02ee41d2afe60bcfe0678bcb5375d596a2" + sha256: c200fd79c918a40c5cd50ea0877fa13f81bdaf6f0a5d3dbcc2a13e3285d6aa1b url: "https://pub.dev" source: hosted - version: "2.0.10+1" + version: "2.0.17" flutter_test: dependency: "direct dev" description: flutter @@ -271,10 +271,10 @@ packages: dependency: "direct main" description: name: flutter_toggle_tab - sha256: "90ad0d050f656df677998825f985637d010117a1793828cd7e6dadada4ecd2c5" + sha256: b07e49d8e9dfcf253e5c5ee5fea601b47bcf6cfa0c42aaa7a60f94b7e8806dce url: "https://pub.dev" source: hosted - version: "1.4.1" + version: "1.5.1" flutter_web_plugins: dependency: transitive description: flutter @@ -308,10 +308,10 @@ packages: dependency: "direct main" description: name: go_router - sha256: "7c2d40b59890a929824f30d442e810116caf5088482629c894b9e4478c67472d" + sha256: daf3ff5570f55396b2d2c9bf8136d7db3a8acf208ac0cef92a3ae2beb9a81550 url: "https://pub.dev" source: hosted - version: "14.6.3" + version: "14.7.1" google_fonts: dependency: "direct main" description: @@ -324,10 +324,10 @@ packages: dependency: transitive description: name: http - sha256: b9c29a161230ee03d3ccf545097fccd9b87a5264228c5d348202e0f0c28f9010 + sha256: fe7ab022b76f3034adc518fb6ea04a82387620e19977665ea18d30a1cf43442f url: "https://pub.dev" source: hosted - version: "1.2.2" + version: "1.3.0" http_parser: dependency: transitive description: @@ -348,18 +348,18 @@ packages: dependency: transitive description: name: leak_tracker - sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a" + sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" url: "https://pub.dev" source: hosted - version: "10.0.4" + version: "10.0.5" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8" + sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806" url: "https://pub.dev" source: hosted - version: "3.0.3" + version: "3.0.5" leak_tracker_testing: dependency: transitive description: @@ -404,10 +404,10 @@ packages: dependency: transitive description: name: material_color_utilities - sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" + sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec url: "https://pub.dev" source: hosted - version: "0.8.0" + version: "0.11.1" material_design_icons_flutter: dependency: "direct main" description: @@ -420,10 +420,10 @@ packages: dependency: transitive description: name: meta - sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136" + sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 url: "https://pub.dev" source: hosted - version: "1.12.0" + version: "1.15.0" nested: dependency: transitive description: @@ -476,34 +476,34 @@ packages: dependency: transitive description: name: path_parsing - sha256: e3e67b1629e6f7e8100b367d3db6ba6af4b1f0bb80f64db18ef1fbabd2fa9ccf + sha256: "883402936929eac138ee0a45da5b0f2c80f89913e6dc3bf77eb65b84b409c6ca" url: "https://pub.dev" source: hosted - version: "1.0.1" + version: "1.1.0" path_provider: dependency: transitive description: name: path_provider - sha256: fec0d61223fba3154d87759e3cc27fe2c8dc498f6386c6d6fc80d1afdd1bf378 + sha256: "50c5dd5b6e1aaf6fb3a78b33f6aa3afca52bf903a8a5298f53101fdaee55bbcd" url: "https://pub.dev" source: hosted - version: "2.1.4" + version: "2.1.5" path_provider_android: dependency: transitive description: name: path_provider_android - sha256: "6f01f8e37ec30b07bc424b4deabac37cacb1bc7e2e515ad74486039918a37eb7" + sha256: "4adf4fd5423ec60a29506c76581bc05854c55e3a0b72d35bb28d661c9686edf2" url: "https://pub.dev" source: hosted - version: "2.2.10" + version: "2.2.15" path_provider_foundation: dependency: transitive description: name: path_provider_foundation - sha256: f234384a3fdd67f989b4d54a5d73ca2a6c422fa55ae694381ae0f4375cd1ea16 + sha256: "4843174df4d288f5e29185bd6e72a6fbdf5a4a4602717eed565497429f179942" url: "https://pub.dev" source: hosted - version: "2.4.0" + version: "2.4.1" path_provider_linux: dependency: transitive description: @@ -540,10 +540,10 @@ packages: dependency: transitive description: name: platform - sha256: "9b71283fc13df574056616011fb138fd3b793ea47cc509c189a6c3fa5f8a1a65" + sha256: "5d6b1b0036a5f331ebc77c850ebc8506cbc1e9416c27e59b439f917a902a4984" url: "https://pub.dev" source: hosted - version: "3.1.5" + version: "3.1.6" plugin_platform_interface: dependency: transitive description: @@ -588,18 +588,18 @@ packages: dependency: "direct main" description: name: shared_preferences - sha256: "95f9997ca1fb9799d494d0cb2a780fd7be075818d59f00c43832ed112b158a82" + sha256: c59819dacc6669a1165d54d2735a9543f136f9b3cec94ca65cea6ab8dffc422e url: "https://pub.dev" source: hosted - version: "2.3.3" + version: "2.4.0" shared_preferences_android: dependency: transitive description: name: shared_preferences_android - sha256: "480ba4345773f56acda9abf5f50bd966f581dac5d514e5fc4a18c62976bbba7e" + sha256: "986dc7b7d14f38064bfa85ace28df1f1a66d4fba32e4b1079d4ea537d9541b01" url: "https://pub.dev" source: hosted - version: "2.3.2" + version: "2.4.3" shared_preferences_foundation: dependency: transitive description: @@ -665,18 +665,42 @@ packages: dependency: transitive description: name: sqflite - sha256: a43e5a27235518c03ca238e7b4732cf35eabe863a369ceba6cbefa537a66f16d + sha256: "2d7299468485dca85efeeadf5d38986909c5eb0cd71fd3db2c2f000e6c9454bb" url: "https://pub.dev" source: hosted - version: "2.3.3+1" + version: "2.4.1" + sqflite_android: + dependency: transitive + description: + name: sqflite_android + sha256: "78f489aab276260cdd26676d2169446c7ecd3484bbd5fead4ca14f3ed4dd9ee3" + url: "https://pub.dev" + source: hosted + version: "2.4.0" sqflite_common: dependency: transitive description: name: sqflite_common - sha256: "3da423ce7baf868be70e2c0976c28a1bb2f73644268b7ffa7d2e08eab71f16a4" + sha256: "761b9740ecbd4d3e66b8916d784e581861fd3c3553eda85e167bc49fdb68f709" url: "https://pub.dev" source: hosted - version: "2.5.4" + version: "2.5.4+6" + sqflite_darwin: + dependency: transitive + description: + name: sqflite_darwin + sha256: "22adfd9a2c7d634041e96d6241e6e1c8138ca6817018afc5d443fef91dcefa9c" + url: "https://pub.dev" + source: hosted + version: "2.4.1+1" + sqflite_platform_interface: + dependency: transitive + description: + name: sqflite_platform_interface + sha256: "8dd4515c7bdcae0a785b0062859336de775e8c65db81ae33dd5445f35be61920" + url: "https://pub.dev" + source: hosted + version: "2.4.0" stack_trace: dependency: transitive description: @@ -705,10 +729,10 @@ packages: dependency: transitive description: name: synchronized - sha256: "539ef412b170d65ecdafd780f924e5be3f60032a1128df156adad6c5b373d558" + sha256: "69fe30f3a8b04a0be0c15ae6490fc859a78ef4c43ae2dd5e8a623d45bfcf9225" url: "https://pub.dev" source: hosted - version: "3.1.0+1" + version: "3.3.0+3" term_glyph: dependency: transitive description: @@ -721,18 +745,18 @@ packages: dependency: transitive description: name: test_api - sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f" + sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb" url: "https://pub.dev" source: hosted - version: "0.7.0" + version: "0.7.2" typed_data: dependency: transitive description: name: typed_data - sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c + sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006 url: "https://pub.dev" source: hosted - version: "1.3.2" + version: "1.4.0" uuid: dependency: transitive description: @@ -745,26 +769,26 @@ packages: dependency: transitive description: name: vector_graphics - sha256: "32c3c684e02f9bc0afb0ae0aa653337a2fe022e8ab064bcd7ffda27a74e288e3" + sha256: "27d5fefe86fb9aace4a9f8375b56b3c292b64d8c04510df230f849850d912cb7" url: "https://pub.dev" source: hosted - version: "1.1.11+1" + version: "1.1.15" vector_graphics_codec: dependency: transitive description: name: vector_graphics_codec - sha256: c86987475f162fadff579e7320c7ddda04cd2fdeffbe1129227a85d9ac9e03da + sha256: "99fd9fbd34d9f9a32efd7b6a6aae14125d8237b10403b422a6a6dfeac2806146" url: "https://pub.dev" source: hosted - version: "1.1.11+1" + version: "1.1.13" vector_graphics_compiler: dependency: transitive description: name: vector_graphics_compiler - sha256: "12faff3f73b1741a36ca7e31b292ddeb629af819ca9efe9953b70bd63fc8cd81" + sha256: "1b4b9e706a10294258727674a340ae0d6e64a7231980f9f9a3d12e4b42407aad" url: "https://pub.dev" source: hosted - version: "1.1.11+1" + version: "1.1.16" vector_math: dependency: transitive description: @@ -777,10 +801,10 @@ packages: dependency: transitive description: name: vm_service - sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec" + sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" url: "https://pub.dev" source: hosted - version: "14.2.1" + version: "14.2.5" web: dependency: transitive description: @@ -793,10 +817,10 @@ packages: dependency: transitive description: name: xdg_directories - sha256: faea9dee56b520b55a566385b84f2e8de55e7496104adada9962e0bd11bcff1d + sha256: "7a3f37b05d989967cdddcbb571f1ea834867ae2faa29725fd085180e0883aa15" url: "https://pub.dev" source: hosted - version: "1.0.4" + version: "1.1.0" xml: dependency: transitive description: @@ -806,5 +830,5 @@ packages: source: hosted version: "6.5.0" sdks: - dart: ">=3.4.4 <4.0.0" - flutter: ">=3.22.0" + dart: ">=3.5.0 <4.0.0" + flutter: ">=3.24.0" diff --git a/pubspec.yaml b/pubspec.yaml index d4290cf..308ac94 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -25,6 +25,8 @@ dependencies: dotted_border: ^2.1.0 go_router: ^14.2.0 + + get_it: any dio: any # API log