fixed issue update profile

This commit is contained in:
2025-02-12 00:37:02 +05:30
parent ad7903d1e3
commit cec162176e
18 changed files with 2011 additions and 196 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@@ -0,0 +1,32 @@
// Flutter web plugin registrant file.
//
// Generated file. Do not edit.
//
// @dart = 2.13
// ignore_for_file: type=lint
import 'package:connectivity_plus/src/connectivity_plus_web.dart';
import 'package:flutter_inappwebview_web/web/main.dart';
import 'package:fluttertoast/fluttertoast_web.dart';
import 'package:geolocator_web/geolocator_web.dart';
import 'package:google_maps_flutter_web/google_maps_flutter_web.dart';
import 'package:image_picker_for_web/image_picker_for_web.dart';
import 'package:package_info_plus/src/package_info_plus_web.dart';
import 'package:shared_preferences_web/shared_preferences_web.dart';
import 'package:url_launcher_web/url_launcher_web.dart';
import 'package:flutter_web_plugins/flutter_web_plugins.dart';
void registerPlugins([final Registrar? pluginRegistrar]) {
final Registrar registrar = pluginRegistrar ?? webPluginRegistrar;
ConnectivityPlusWebPlugin.registerWith(registrar);
InAppWebViewFlutterPlugin.registerWith(registrar);
FluttertoastWebPlugin.registerWith(registrar);
GeolocatorPlugin.registerWith(registrar);
GoogleMapsPlugin.registerWith(registrar);
ImagePickerPlugin.registerWith(registrar);
PackageInfoPlusWebPlugin.registerWith(registrar);
SharedPreferencesPlugin.registerWith(registrar);
UrlLauncherPlugin.registerWith(registrar);
registrar.registerMessageHandler();
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,661 @@
animation_list
2.12
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/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.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/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/apple/.pub-cache/hosted/pub.dev/back_button_interceptor-8.0.4/
file:///Users/apple/.pub-cache/hosted/pub.dev/back_button_interceptor-8.0.4/lib/
boolean_selector
2.17
file:///Users/apple/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1/
file:///Users/apple/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1/lib/
cached_network_image
3.0
file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image-3.3.1/
file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image-3.3.1/lib/
cached_network_image_platform_interface
3.0
file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image_platform_interface-4.0.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image_platform_interface-4.0.0/lib/
cached_network_image_web
3.0
file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image_web-1.2.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/cached_network_image_web-1.2.0/lib/
carousel_slider
2.12
file:///Users/apple/.pub-cache/hosted/pub.dev/carousel_slider-5.0.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/carousel_slider-5.0.0/lib/
characters
2.12
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/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/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/apple/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.3/
file:///Users/apple/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.3/lib/
connectivity_plus_platform_interface
2.18
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/
cross_file
3.3
file:///Users/apple/.pub-cache/hosted/pub.dev/cross_file-0.3.4+2/
file:///Users/apple/.pub-cache/hosted/pub.dev/cross_file-0.3.4+2/lib/
crypto
3.4
file:///Users/apple/.pub-cache/hosted/pub.dev/crypto-3.0.6/
file:///Users/apple/.pub-cache/hosted/pub.dev/crypto-3.0.6/lib/
csslib
3.1
file:///Users/apple/.pub-cache/hosted/pub.dev/csslib-1.0.2/
file:///Users/apple/.pub-cache/hosted/pub.dev/csslib-1.0.2/lib/
cupertino_icons
3.1
file:///Users/apple/.pub-cache/hosted/pub.dev/cupertino_icons-1.0.8/
file:///Users/apple/.pub-cache/hosted/pub.dev/cupertino_icons-1.0.8/lib/
dbus
2.17
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/apple/.pub-cache/hosted/pub.dev/dio-5.8.0+1/
file:///Users/apple/.pub-cache/hosted/pub.dev/dio-5.8.0+1/lib/
dio_web_adapter
3.3
file:///Users/apple/.pub-cache/hosted/pub.dev/dio_web_adapter-2.1.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/dio_web_adapter-2.1.0/lib/
dots_indicator
2.12
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/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/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/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/apple/.pub-cache/hosted/pub.dev/file-7.0.1/
file:///Users/apple/.pub-cache/hosted/pub.dev/file-7.0.1/lib/
file_selector_linux
3.3
file:///Users/apple/.pub-cache/hosted/pub.dev/file_selector_linux-0.9.3+2/
file:///Users/apple/.pub-cache/hosted/pub.dev/file_selector_linux-0.9.3+2/lib/
file_selector_macos
3.3
file:///Users/apple/.pub-cache/hosted/pub.dev/file_selector_macos-0.9.4+2/
file:///Users/apple/.pub-cache/hosted/pub.dev/file_selector_macos-0.9.4+2/lib/
file_selector_platform_interface
3.0
file:///Users/apple/.pub-cache/hosted/pub.dev/file_selector_platform_interface-2.6.2/
file:///Users/apple/.pub-cache/hosted/pub.dev/file_selector_platform_interface-2.6.2/lib/
file_selector_windows
3.3
file:///Users/apple/.pub-cache/hosted/pub.dev/file_selector_windows-0.9.3+3/
file:///Users/apple/.pub-cache/hosted/pub.dev/file_selector_windows-0.9.3+3/lib/
fixnum
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/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
2.17
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_cache_manager-3.3.1/
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_cache_manager-3.3.1/lib/
flutter_google_places
2.12
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_google_places-0.3.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_google_places-0.3.0/lib/
flutter_inappwebview
2.17
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_inappwebview-6.0.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_inappwebview-6.0.0/lib/
flutter_inappwebview_android
2.17
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_inappwebview_android-1.0.13/
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_inappwebview_android-1.0.13/lib/
flutter_inappwebview_internal_annotations
2.17
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_inappwebview_internal_annotations-1.2.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_inappwebview_internal_annotations-1.2.0/lib/
flutter_inappwebview_ios
2.17
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/lib/
flutter_inappwebview_macos
2.17
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_inappwebview_macos-1.0.11/
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_inappwebview_macos-1.0.11/lib/
flutter_inappwebview_platform_interface
2.17
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_inappwebview_platform_interface-1.0.10/
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_inappwebview_platform_interface-1.0.10/lib/
flutter_inappwebview_web
2.17
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_inappwebview_web-1.0.8/
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_inappwebview_web-1.0.8/lib/
flutter_lints
3.1
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_lints-3.0.2/
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_lints-3.0.2/lib/
flutter_plugin_android_lifecycle
3.4
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.22/
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.22/lib/
flutter_rating_stars
3.2
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_rating_stars-1.1.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_rating_stars-1.1.0/lib/
flutter_screenutil
2.17
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/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/apple/.pub-cache/hosted/pub.dev/flutter_svg-2.0.9/
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_svg-2.0.9/lib/
flutter_toggle_tab
3.0
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_toggle_tab-1.5.1/
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_toggle_tab-1.5.1/lib/
fluttertoast
2.12
file:///Users/apple/.pub-cache/hosted/pub.dev/fluttertoast-8.2.11/
file:///Users/apple/.pub-cache/hosted/pub.dev/fluttertoast-8.2.11/lib/
fpdart
3.0
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/apple/.pub-cache/hosted/pub.dev/gap-3.0.1/
file:///Users/apple/.pub-cache/hosted/pub.dev/gap-3.0.1/lib/
geocoding
2.17
file:///Users/apple/.pub-cache/hosted/pub.dev/geocoding-3.0.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/geocoding-3.0.0/lib/
geocoding_android
2.17
file:///Users/apple/.pub-cache/hosted/pub.dev/geocoding_android-3.3.1/
file:///Users/apple/.pub-cache/hosted/pub.dev/geocoding_android-3.3.1/lib/
geocoding_ios
2.17
file:///Users/apple/.pub-cache/hosted/pub.dev/geocoding_ios-3.0.1/
file:///Users/apple/.pub-cache/hosted/pub.dev/geocoding_ios-3.0.1/lib/
geocoding_platform_interface
2.12
file:///Users/apple/.pub-cache/hosted/pub.dev/geocoding_platform_interface-3.2.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/geocoding_platform_interface-3.2.0/lib/
geolocator
2.15
file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator-13.0.2/
file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator-13.0.2/lib/
geolocator_android
2.15
file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_android-4.6.1/
file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_android-4.6.1/lib/
geolocator_apple
2.15
file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.8+1/
file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.8+1/lib/
geolocator_platform_interface
2.15
file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_platform_interface-4.2.4/
file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_platform_interface-4.2.4/lib/
geolocator_web
3.4
file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_web-4.1.1/
file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_web-4.1.1/lib/
geolocator_windows
2.15
file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_windows-0.2.3/
file:///Users/apple/.pub-cache/hosted/pub.dev/geolocator_windows-0.2.3/lib/
get_it
3.0
file:///Users/apple/.pub-cache/hosted/pub.dev/get_it-8.0.3/
file:///Users/apple/.pub-cache/hosted/pub.dev/get_it-8.0.3/lib/
go_router
3.4
file:///Users/apple/.pub-cache/hosted/pub.dev/go_router-14.8.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/go_router-14.8.0/lib/
google_api_headers
2.12
file:///Users/apple/.pub-cache/hosted/pub.dev/google_api_headers-1.6.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/google_api_headers-1.6.0/lib/
google_fonts
2.14
file:///Users/apple/.pub-cache/hosted/pub.dev/google_fonts-4.0.4/
file:///Users/apple/.pub-cache/hosted/pub.dev/google_fonts-4.0.4/lib/
google_maps
3.4
file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps-8.1.1/
file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps-8.1.1/lib/
google_maps_flutter
3.4
file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter-2.10.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter-2.10.0/lib/
google_maps_flutter_android
3.4
file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_android-2.14.7/
file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_android-2.14.7/lib/
google_maps_flutter_ios
3.3
file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_ios-2.13.2/
file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_ios-2.13.2/lib/
google_maps_flutter_platform_interface
3.4
file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_platform_interface-2.10.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_platform_interface-2.10.0/lib/
google_maps_flutter_web
3.3
file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_web-0.5.10/
file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_web-0.5.10/lib/
google_maps_webservice
2.12
file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_webservice-0.0.20-nullsafety.5/
file:///Users/apple/.pub-cache/hosted/pub.dev/google_maps_webservice-0.0.20-nullsafety.5/lib/
html
3.2
file:///Users/apple/.pub-cache/hosted/pub.dev/html-0.15.5/
file:///Users/apple/.pub-cache/hosted/pub.dev/html-0.15.5/lib/
http
2.19
file:///Users/apple/.pub-cache/hosted/pub.dev/http-0.13.6/
file:///Users/apple/.pub-cache/hosted/pub.dev/http-0.13.6/lib/
http_parser
2.12
file:///Users/apple/.pub-cache/hosted/pub.dev/http_parser-4.0.2/
file:///Users/apple/.pub-cache/hosted/pub.dev/http_parser-4.0.2/lib/
image_picker
3.3
file:///Users/apple/.pub-cache/hosted/pub.dev/image_picker-1.1.2/
file:///Users/apple/.pub-cache/hosted/pub.dev/image_picker-1.1.2/lib/
image_picker_android
3.4
file:///Users/apple/.pub-cache/hosted/pub.dev/image_picker_android-0.8.12+12/
file:///Users/apple/.pub-cache/hosted/pub.dev/image_picker_android-0.8.12+12/lib/
image_picker_for_web
3.4
file:///Users/apple/.pub-cache/hosted/pub.dev/image_picker_for_web-3.0.6/
file:///Users/apple/.pub-cache/hosted/pub.dev/image_picker_for_web-3.0.6/lib/
image_picker_ios
3.4
file:///Users/apple/.pub-cache/hosted/pub.dev/image_picker_ios-0.8.12+2/
file:///Users/apple/.pub-cache/hosted/pub.dev/image_picker_ios-0.8.12+2/lib/
image_picker_linux
2.19
file:///Users/apple/.pub-cache/hosted/pub.dev/image_picker_linux-0.2.1+1/
file:///Users/apple/.pub-cache/hosted/pub.dev/image_picker_linux-0.2.1+1/lib/
image_picker_macos
3.4
file:///Users/apple/.pub-cache/hosted/pub.dev/image_picker_macos-0.2.1+2/
file:///Users/apple/.pub-cache/hosted/pub.dev/image_picker_macos-0.2.1+2/lib/
image_picker_platform_interface
3.4
file:///Users/apple/.pub-cache/hosted/pub.dev/image_picker_platform_interface-2.10.1/
file:///Users/apple/.pub-cache/hosted/pub.dev/image_picker_platform_interface-2.10.1/lib/
image_picker_windows
2.19
file:///Users/apple/.pub-cache/hosted/pub.dev/image_picker_windows-0.2.1+1/
file:///Users/apple/.pub-cache/hosted/pub.dev/image_picker_windows-0.2.1+1/lib/
intl
3.3
file:///Users/apple/.pub-cache/hosted/pub.dev/intl-0.20.2/
file:///Users/apple/.pub-cache/hosted/pub.dev/intl-0.20.2/lib/
js
2.19
file:///Users/apple/.pub-cache/hosted/pub.dev/js-0.6.7/
file:///Users/apple/.pub-cache/hosted/pub.dev/js-0.6.7/lib/
json_annotation
3.0
file:///Users/apple/.pub-cache/hosted/pub.dev/json_annotation-4.9.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/json_annotation-4.9.0/lib/
leak_tracker
3.2
file:///Users/apple/.pub-cache/hosted/pub.dev/leak_tracker-10.0.5/
file:///Users/apple/.pub-cache/hosted/pub.dev/leak_tracker-10.0.5/lib/
leak_tracker_flutter_testing
3.2
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/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/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/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/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/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/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/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/apple/.pub-cache/hosted/pub.dev/meta-1.15.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/meta-1.15.0/lib/
mime
3.2
file:///Users/apple/.pub-cache/hosted/pub.dev/mime-2.0.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/mime-2.0.0/lib/
nested
2.12
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/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/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/apple/.pub-cache/hosted/pub.dev/otp_text_field-1.1.3/
file:///Users/apple/.pub-cache/hosted/pub.dev/otp_text_field-1.1.3/lib/
package_info_plus
2.18
file:///Users/apple/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/lib/
package_info_plus_platform_interface
2.12
file:///Users/apple/.pub-cache/hosted/pub.dev/package_info_plus_platform_interface-2.0.1/
file:///Users/apple/.pub-cache/hosted/pub.dev/package_info_plus_platform_interface-2.0.1/lib/
path
3.0
file:///Users/apple/.pub-cache/hosted/pub.dev/path-1.9.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/path-1.9.0/lib/
path_drawing
2.12
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
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.4
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.4
file:///Users/apple/.pub-cache/hosted/pub.dev/path_provider_android-2.2.10/
file:///Users/apple/.pub-cache/hosted/pub.dev/path_provider_android-2.2.10/lib/
path_provider_foundation
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/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/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/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/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/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/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/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/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/apple/.pub-cache/hosted/pub.dev/readmore-3.0.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/readmore-3.0.0/lib/
rxdart
2.12
file:///Users/apple/.pub-cache/hosted/pub.dev/rxdart-0.26.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/rxdart-0.26.0/lib/
sanitize_html
2.12
file:///Users/apple/.pub-cache/hosted/pub.dev/sanitize_html-2.1.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/sanitize_html-2.1.0/lib/
shared_preferences
3.4
file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences-2.3.3/
file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences-2.3.3/lib/
shared_preferences_android
3.4
file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_android-2.3.2/
file:///Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_android-2.3.2/lib/
shared_preferences_foundation
3.4
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/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/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/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/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/
shimmer
2.17
file:///Users/apple/.pub-cache/hosted/pub.dev/shimmer-3.0.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/shimmer-3.0.0/lib/
skeletonizer
3.0
file:///Users/apple/.pub-cache/hosted/pub.dev/skeletonizer-1.4.3/
file:///Users/apple/.pub-cache/hosted/pub.dev/skeletonizer-1.4.3/lib/
source_span
2.18
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/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/apple/.pub-cache/hosted/pub.dev/sqflite-2.3.3+1/
file:///Users/apple/.pub-cache/hosted/pub.dev/sqflite-2.3.3+1/lib/
sqflite_common
3.3
file:///Users/apple/.pub-cache/hosted/pub.dev/sqflite_common-2.5.4/
file:///Users/apple/.pub-cache/hosted/pub.dev/sqflite_common-2.5.4/lib/
stack_trace
2.18
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/apple/.pub-cache/hosted/pub.dev/stream_channel-2.1.2/
file:///Users/apple/.pub-cache/hosted/pub.dev/stream_channel-2.1.2/lib/
stream_transform
3.1
file:///Users/apple/.pub-cache/hosted/pub.dev/stream_transform-2.1.1/
file:///Users/apple/.pub-cache/hosted/pub.dev/stream_transform-2.1.1/lib/
string_scanner
2.18
file:///Users/apple/.pub-cache/hosted/pub.dev/string_scanner-1.2.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/string_scanner-1.2.0/lib/
synchronized
3.0
file:///Users/apple/.pub-cache/hosted/pub.dev/synchronized-3.1.0+1/
file:///Users/apple/.pub-cache/hosted/pub.dev/synchronized-3.1.0+1/lib/
term_glyph
2.12
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.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/apple/.pub-cache/hosted/pub.dev/typed_data-1.3.2/
file:///Users/apple/.pub-cache/hosted/pub.dev/typed_data-1.3.2/lib/
url_launcher
3.3
file:///Users/apple/.pub-cache/hosted/pub.dev/url_launcher-6.3.1/
file:///Users/apple/.pub-cache/hosted/pub.dev/url_launcher-6.3.1/lib/
url_launcher_android
3.4
file:///Users/apple/.pub-cache/hosted/pub.dev/url_launcher_android-6.3.9/
file:///Users/apple/.pub-cache/hosted/pub.dev/url_launcher_android-6.3.9/lib/
url_launcher_ios
3.3
file:///Users/apple/.pub-cache/hosted/pub.dev/url_launcher_ios-6.3.2/
file:///Users/apple/.pub-cache/hosted/pub.dev/url_launcher_ios-6.3.2/lib/
url_launcher_linux
3.3
file:///Users/apple/.pub-cache/hosted/pub.dev/url_launcher_linux-3.2.1/
file:///Users/apple/.pub-cache/hosted/pub.dev/url_launcher_linux-3.2.1/lib/
url_launcher_macos
3.3
file:///Users/apple/.pub-cache/hosted/pub.dev/url_launcher_macos-3.2.2/
file:///Users/apple/.pub-cache/hosted/pub.dev/url_launcher_macos-3.2.2/lib/
url_launcher_platform_interface
3.1
file:///Users/apple/.pub-cache/hosted/pub.dev/url_launcher_platform_interface-2.3.2/
file:///Users/apple/.pub-cache/hosted/pub.dev/url_launcher_platform_interface-2.3.2/lib/
url_launcher_web
3.3
file:///Users/apple/.pub-cache/hosted/pub.dev/url_launcher_web-2.3.3/
file:///Users/apple/.pub-cache/hosted/pub.dev/url_launcher_web-2.3.3/lib/
url_launcher_windows
3.4
file:///Users/apple/.pub-cache/hosted/pub.dev/url_launcher_windows-3.1.4/
file:///Users/apple/.pub-cache/hosted/pub.dev/url_launcher_windows-3.1.4/lib/
uuid
3.0
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/apple/.pub-cache/hosted/pub.dev/vector_graphics-1.1.10+1/
file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics-1.1.10+1/lib/
vector_graphics_codec
2.17
file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics_codec-1.1.10+1/
file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics_codec-1.1.10+1/lib/
vector_graphics_compiler
2.19
file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics_compiler-1.1.10+1/
file:///Users/apple/.pub-cache/hosted/pub.dev/vector_graphics_compiler-1.1.10+1/lib/
vector_math
2.14
file:///Users/apple/.pub-cache/hosted/pub.dev/vector_math-2.1.4/
file:///Users/apple/.pub-cache/hosted/pub.dev/vector_math-2.1.4/lib/
vm_service
3.3
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/apple/.pub-cache/hosted/pub.dev/web-1.1.0/
file:///Users/apple/.pub-cache/hosted/pub.dev/web-1.1.0/lib/
win32
3.4
file:///Users/apple/.pub-cache/hosted/pub.dev/win32-5.5.4/
file:///Users/apple/.pub-cache/hosted/pub.dev/win32-5.5.4/lib/
xdg_directories
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/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/apple/Documents/Allflutter%20/freelancing/groceryApp/
file:///Users/apple/Documents/Allflutter%20/freelancing/groceryApp/lib/
sky_engine
3.2
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/apple/Documents/development/flutter/packages/flutter/
file:///Users/apple/Documents/development/flutter/packages/flutter/lib/
flutter_test
3.3
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/apple/Documents/development/flutter/packages/flutter_web_plugins/
file:///Users/apple/Documents/development/flutter/packages/flutter_web_plugins/lib/
2

1
.dart_tool/version Normal file
View File

@@ -0,0 +1 @@
3.24.3

52
.flutter-plugins Normal file
View File

@@ -0,0 +1,52 @@
# This is a generated file; do not edit or check into version control.
connectivity_plus=/Users/apple/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.3/
file_selector_linux=/Users/apple/.pub-cache/hosted/pub.dev/file_selector_linux-0.9.3+2/
file_selector_macos=/Users/apple/.pub-cache/hosted/pub.dev/file_selector_macos-0.9.4+2/
file_selector_windows=/Users/apple/.pub-cache/hosted/pub.dev/file_selector_windows-0.9.3+3/
flutter_inappwebview=/Users/apple/.pub-cache/hosted/pub.dev/flutter_inappwebview-6.0.0/
flutter_inappwebview_android=/Users/apple/.pub-cache/hosted/pub.dev/flutter_inappwebview_android-1.0.13/
flutter_inappwebview_ios=/Users/apple/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.0.13/
flutter_inappwebview_macos=/Users/apple/.pub-cache/hosted/pub.dev/flutter_inappwebview_macos-1.0.11/
flutter_inappwebview_web=/Users/apple/.pub-cache/hosted/pub.dev/flutter_inappwebview_web-1.0.8/
flutter_plugin_android_lifecycle=/Users/apple/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.22/
fluttertoast=/Users/apple/.pub-cache/hosted/pub.dev/fluttertoast-8.2.11/
geocoding=/Users/apple/.pub-cache/hosted/pub.dev/geocoding-3.0.0/
geocoding_android=/Users/apple/.pub-cache/hosted/pub.dev/geocoding_android-3.3.1/
geocoding_ios=/Users/apple/.pub-cache/hosted/pub.dev/geocoding_ios-3.0.1/
geolocator=/Users/apple/.pub-cache/hosted/pub.dev/geolocator-13.0.2/
geolocator_android=/Users/apple/.pub-cache/hosted/pub.dev/geolocator_android-4.6.1/
geolocator_apple=/Users/apple/.pub-cache/hosted/pub.dev/geolocator_apple-2.3.8+1/
geolocator_web=/Users/apple/.pub-cache/hosted/pub.dev/geolocator_web-4.1.1/
geolocator_windows=/Users/apple/.pub-cache/hosted/pub.dev/geolocator_windows-0.2.3/
google_api_headers=/Users/apple/.pub-cache/hosted/pub.dev/google_api_headers-1.6.0/
google_maps_flutter=/Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter-2.10.0/
google_maps_flutter_android=/Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_android-2.14.7/
google_maps_flutter_ios=/Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_ios-2.13.2/
google_maps_flutter_web=/Users/apple/.pub-cache/hosted/pub.dev/google_maps_flutter_web-0.5.10/
image_picker=/Users/apple/.pub-cache/hosted/pub.dev/image_picker-1.1.2/
image_picker_android=/Users/apple/.pub-cache/hosted/pub.dev/image_picker_android-0.8.12+12/
image_picker_for_web=/Users/apple/.pub-cache/hosted/pub.dev/image_picker_for_web-3.0.6/
image_picker_ios=/Users/apple/.pub-cache/hosted/pub.dev/image_picker_ios-0.8.12+2/
image_picker_linux=/Users/apple/.pub-cache/hosted/pub.dev/image_picker_linux-0.2.1+1/
image_picker_macos=/Users/apple/.pub-cache/hosted/pub.dev/image_picker_macos-0.2.1+2/
image_picker_windows=/Users/apple/.pub-cache/hosted/pub.dev/image_picker_windows-0.2.1+1/
package_info_plus=/Users/apple/.pub-cache/hosted/pub.dev/package_info_plus-4.2.0/
path_provider=/Users/apple/.pub-cache/hosted/pub.dev/path_provider-2.1.5/
path_provider_android=/Users/apple/.pub-cache/hosted/pub.dev/path_provider_android-2.2.10/
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.3.3/
shared_preferences_android=/Users/apple/.pub-cache/hosted/pub.dev/shared_preferences_android-2.3.2/
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.3.3+1/
url_launcher=/Users/apple/.pub-cache/hosted/pub.dev/url_launcher-6.3.1/
url_launcher_android=/Users/apple/.pub-cache/hosted/pub.dev/url_launcher_android-6.3.9/
url_launcher_ios=/Users/apple/.pub-cache/hosted/pub.dev/url_launcher_ios-6.3.2/
url_launcher_linux=/Users/apple/.pub-cache/hosted/pub.dev/url_launcher_linux-3.2.1/
url_launcher_macos=/Users/apple/.pub-cache/hosted/pub.dev/url_launcher_macos-3.2.2/
url_launcher_web=/Users/apple/.pub-cache/hosted/pub.dev/url_launcher_web-2.3.3/
url_launcher_windows=/Users/apple/.pub-cache/hosted/pub.dev/url_launcher_windows-3.1.4/

File diff suppressed because one or more lines are too long

View File

@@ -3,6 +3,7 @@ import 'package:grocery_app/src/core/network_services/service_locator.dart';
import 'package:grocery_app/src/data/user_profile.dart'; import 'package:grocery_app/src/data/user_profile.dart';
import 'package:grocery_app/src/logic/repo/product_repo.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/constants/shared_pref_utils.dart';
import 'package:grocery_app/utils/constants/string_constant.dart';
class BottomNavProvider with ChangeNotifier { class BottomNavProvider with ChangeNotifier {
int _currentIndex = 0; int _currentIndex = 0;
@@ -16,51 +17,17 @@ class BottomNavProvider with ChangeNotifier {
_pageController.jumpToPage(index); _pageController.jumpToPage(index);
notifyListeners(); notifyListeners();
} }
UserProfile allitem = UserProfile();
final _homeRepo = getIt<ProductRepo>(); final _homeRepo = getIt<ProductRepo>();
bool isLoading = true;
Future<void> getProfile(BuildContext context) async {
print("kjdkjghdfjglhjdfhgldflghjkldfjgh");
isLoading = true;
notifyListeners();
var data = {};
try {
var result = await _homeRepo.getProfile(data);
return result.fold(
(error) {
isLoading = false;
notifyListeners();
},
(response) async {
print("kjdshgkjhdfkjg ${response.firstName}");
await SharedPrefUtils.saveUser(user: response);
allitem = response!;
isLoading = false;
notifyListeners();
},
);
} catch (e) {
isLoading = false;
notifyListeners();
}
}
Future<bool> refreshToken(BuildContext context) async { Future<bool> refreshToken(BuildContext context) async {
var data = {"refresh_token": "${await SharedPrefUtils.getRefreshToken()}"}; var data = {"refresh_token": "${await SharedPrefUtils.getRefreshToken()}"};
var result = await _homeRepo.refreshToken(data, context); var result = await _homeRepo.refreshToken(data, context);
return result.fold( return result.fold(
(error) { (error) {
return true; return true;
}, },
(response) { (response) {
return true; return true;
}, },
); );

View File

@@ -6,8 +6,11 @@ import 'package:grocery_app/src/core/utils/snack_bar.dart';
import 'package:grocery_app/src/data/user_profile.dart'; import 'package:grocery_app/src/data/user_profile.dart';
import 'package:grocery_app/src/logic/repo/auth_repo.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/repo/product_repo.dart';
import 'package:grocery_app/utils/constants/shared_pref_utils.dart';
import 'package:grocery_app/utils/extensions/extensions.dart'; import 'package:grocery_app/utils/extensions/extensions.dart';
import '../../../utils/constants/string_constant.dart';
class ProfileProvider extends ChangeNotifier { class ProfileProvider extends ChangeNotifier {
bool _isImageLoading = false; bool _isImageLoading = false;
bool get isImageLoading => _isImageLoading; bool get isImageLoading => _isImageLoading;
@@ -42,7 +45,7 @@ class ProfileProvider extends ChangeNotifier {
showTopSnackBar(context, message, color); showTopSnackBar(context, message, color);
} }
Future<bool> createStore( Future<bool> updateProfile(
BuildContext context, String firstName, String lastName) async { BuildContext context, String firstName, String lastName) async {
context.showLoader(show: true); context.showLoader(show: true);
@@ -68,7 +71,8 @@ class ProfileProvider extends ChangeNotifier {
return false; return false;
}, },
(response) { (response) {
Navigator.pop(context); getProfile(context);
ScaffoldMessenger.of(context).showSnackBar( ScaffoldMessenger.of(context).showSnackBar(
SnackBar( SnackBar(
content: Text("Profile updated"), content: Text("Profile updated"),
@@ -78,8 +82,7 @@ class ProfileProvider extends ChangeNotifier {
return true; return true;
}, },
); );
} catch (e) } catch (e) {
{
context.showLoader(show: false); context.showLoader(show: false);
ScaffoldMessenger.of(context).showSnackBar( ScaffoldMessenger.of(context).showSnackBar(
@@ -91,4 +94,48 @@ class ProfileProvider extends ChangeNotifier {
return false; return false;
} }
} }
final _homeRepo = getIt<ProductRepo>();
UserProfile allitem = UserProfile();
bool isLoading = true;
String _profile = '';
String get profile => _profile;
String _name = '';
String get name => _name;
String _email = '';
String get email => _email;
Future<void> getProfile(BuildContext context) async {
isLoading = true;
notifyListeners();
var data = {};
try {
var result = await _homeRepo.getProfile(data);
return result.fold(
(error) {
isLoading = false;
notifyListeners();
},
(response) async {
await SharedPrefUtils.saveUser(user: response);
allitem = response!;
_profile = response.img;
_name = response.firstName + " " + response.lastName;
_email = response.email;
APPSTRING.userName = response.firstName;
APPSTRING.userLastName = response.lastName;
APPSTRING.userProfile = response.img;
isLoading = false;
notifyListeners();
},
);
} catch (e) {
isLoading = false;
notifyListeners();
}
}
} }

View File

@@ -221,10 +221,11 @@ class ProductRepo {
try { try {
var response = await _productService.updateProfile(data); var response = await _productService.updateProfile(data);
print("kdjfgkljfdkjlghflkgjh ${response}");
final String model = response.toString(); final String model = response.toString();
return right(model); return right(model);
} on DioException catch (e) { } on DioException catch (e)
{
var error = CustomDioExceptions.handleError(e); var error = CustomDioExceptions.handleError(e);
return left(error); return left(error);
} }

View File

@@ -4,6 +4,7 @@ import 'package:flutter/material.dart';
import 'package:geolocator/geolocator.dart'; import 'package:geolocator/geolocator.dart';
import 'package:grocery_app/src/logic/provider/bottom_navbar_provider.dart'; import 'package:grocery_app/src/logic/provider/bottom_navbar_provider.dart';
import 'package:grocery_app/src/logic/provider/home_provider.dart'; import 'package:grocery_app/src/logic/provider/home_provider.dart';
import 'package:grocery_app/src/logic/provider/profile_provider.dart';
import 'package:grocery_app/src/ui/cart/cartview_screen.dart'; import 'package:grocery_app/src/ui/cart/cartview_screen.dart';
import 'package:grocery_app/src/ui/favourite/favourite_screen.dart'; import 'package:grocery_app/src/ui/favourite/favourite_screen.dart';
import 'package:grocery_app/src/ui/header.dart'; import 'package:grocery_app/src/ui/header.dart';
@@ -19,8 +20,7 @@ class BottomBarWidget extends StatefulWidget {
_BottomBarState createState() => _BottomBarState(); _BottomBarState createState() => _BottomBarState();
} }
class _BottomBarState extends State<BottomBarWidget> class _BottomBarState extends State<BottomBarWidget> {
{
int _currentIndex = 0; int _currentIndex = 0;
PageController bottomWidgetPageController = PageController( PageController bottomWidgetPageController = PageController(
initialPage: 0, initialPage: 0,
@@ -40,7 +40,7 @@ class _BottomBarState extends State<BottomBarWidget>
@override @override
void initState() { void initState() {
Provider.of<BottomNavProvider>(context, listen: false).getProfile(context); Provider.of<ProfileProvider>(context, listen: false).getProfile(context);
_currentIndex = 0; _currentIndex = 0;
bottomWidgetPageController = PageController( bottomWidgetPageController = PageController(
initialPage: 0, initialPage: 0,

View File

@@ -43,6 +43,8 @@ class _EditProfileScreenState extends State<EditProfileScreen> {
firstController.text = APPSTRING.userName; firstController.text = APPSTRING.userName;
lastController.text = APPSTRING.userLastName; lastController.text = APPSTRING.userLastName;
profile = APPSTRING.userProfile; profile = APPSTRING.userProfile;
print("jshdgjkdhfg ${profile}");
} }
/// Pick image from gallery or camera /// Pick image from gallery or camera
@@ -70,6 +72,7 @@ class _EditProfileScreenState extends State<EditProfileScreen> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
print("jkdfhgkjdfg ${_image} ${profile}");
return Scaffold( return Scaffold(
appBar: AppBar( appBar: AppBar(
centerTitle: true, centerTitle: true,
@@ -111,9 +114,17 @@ class _EditProfileScreenState extends State<EditProfileScreen> {
Expanded( Expanded(
child: InkWell( child: InkWell(
onTap: imageProvider.isImageLoading onTap: imageProvider.isImageLoading
? () { ? () async {
imageProvider.createStore(context, var status = await imageProvider.updateProfile(
firstController.text, lastController.text); context,
firstController.text,
lastController.text);
if (status) {
print('dksfjghdkfgh');
Navigator.pop(context);
}
} }
: null, : null,
child: Container( child: Container(
@@ -153,16 +164,14 @@ class _EditProfileScreenState extends State<EditProfileScreen> {
Stack( Stack(
alignment: Alignment.center, alignment: Alignment.center,
children: [ children: [
//
CircleAvatar( CircleAvatar(
radius: 40, radius: 40,
backgroundColor: Colors.white, backgroundColor: Colors.grey,
backgroundImage: _image != null backgroundImage: _image != null
? FileImage(_image!) as ImageProvider ? FileImage(_image!)
: (profile != null && profile!.isNotEmpty : (profile != null && profile!.isNotEmpty
? NetworkImage(profile!) ? NetworkImage(profile!)
: const AssetImage("assets/default_profile.png") : const AssetImage("assets/default_profile.png")),
as ImageProvider),
), ),
Positioned( Positioned(
bottom: 0, bottom: 0,

View File

@@ -41,7 +41,10 @@ class _HomeScreenState extends State<HomeScreen> {
} }
getUserDetails() async { getUserDetails() async {
APPSTRING.userName = (await SharedPrefUtils.getUserName())!; APPSTRING.userName = (await SharedPrefUtils.getFirstName())!;
print("kdjfkgjhdkfgj ${await SharedPrefUtils.getFirstName()}");
APPSTRING.emailName = (await SharedPrefUtils.getUserEmail())!; APPSTRING.emailName = (await SharedPrefUtils.getUserEmail())!;
APPSTRING.userProfile = (await SharedPrefUtils.getUserProfile())!; APPSTRING.userProfile = (await SharedPrefUtils.getUserProfile())!;
APPSTRING.userLastName = (await SharedPrefUtils.getLastName())!; APPSTRING.userLastName = (await SharedPrefUtils.getLastName())!;
@@ -507,7 +510,7 @@ class _HomeScreenState extends State<HomeScreen> {
), ),
) )
: provider.banner.isEmpty : provider.banner.isEmpty
? Center(child: Text('No products available')) ? SizedBox.shrink()
: CarouselSlider( : CarouselSlider(
options: CarouselOptions( options: CarouselOptions(
height: 180, height: 180,

View File

@@ -1,6 +1,7 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:grocery_app/src/common_widget/network_image.dart'; import 'package:grocery_app/src/common_widget/network_image.dart';
import 'package:grocery_app/src/data/myOrder.dart'; import 'package:grocery_app/src/data/myOrder.dart';
import 'package:intl/intl.dart';
class OrderDetailsScreen extends StatefulWidget { class OrderDetailsScreen extends StatefulWidget {
final Datum order; final Datum order;
@@ -13,6 +14,20 @@ class OrderDetailsScreen extends StatefulWidget {
class _OrderDetailsScreenState extends State<OrderDetailsScreen> { class _OrderDetailsScreenState extends State<OrderDetailsScreen> {
int currentStep = 1; int currentStep = 1;
String convertUtcToIst(String utcTime) {
// Parse the UTC time string
DateTime utcDateTime = DateTime.parse(utcTime).toUtc();
// Convert to IST (UTC +5:30)
DateTime istDateTime =
utcDateTime.add(const Duration(hours: 5, minutes: 30));
// Format the IST datetime with AM/PM
String formattedDateTime =
DateFormat("dd-MM-yyyy hh:mm a").format(istDateTime);
return formattedDateTime; // Example: 11-02-2025 10:44 AM
}
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
@@ -54,7 +69,7 @@ class _OrderDetailsScreenState extends State<OrderDetailsScreen> {
Text(widget.order.deliveryAddress!.addressLine ?? " ", Text(widget.order.deliveryAddress!.addressLine ?? " ",
style: TextStyle(fontSize: 16, fontWeight: FontWeight.bold)), style: TextStyle(fontSize: 16, fontWeight: FontWeight.bold)),
SizedBox(height: 5), SizedBox(height: 5),
Text(widget.order.createdAt.toString()), Text(convertUtcToIst(widget.order.createdAt.toString())),
SizedBox(height: 5), SizedBox(height: 5),
Text( Text(
"Status: ${_getStatusText(widget.order.orderStatus)}", "Status: ${_getStatusText(widget.order.orderStatus)}",

View File

@@ -7,6 +7,7 @@ import 'package:grocery_app/src/logic/provider/order_provider.dart';
import 'package:grocery_app/utils/constants/assets_constant.dart'; import 'package:grocery_app/utils/constants/assets_constant.dart';
import 'package:grocery_app/utils/constants/color_constant.dart'; import 'package:grocery_app/utils/constants/color_constant.dart';
import 'package:grocery_app/utils/extensions/extensions.dart'; import 'package:grocery_app/utils/extensions/extensions.dart';
import 'package:intl/intl.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
import 'package:url_launcher/url_launcher.dart'; import 'package:url_launcher/url_launcher.dart';
@@ -22,6 +23,21 @@ class _MyOrderScreenState extends State<MyOrderScreen> {
super.initState(); super.initState();
} }
String convertUtcToIst(String utcTime) {
// Parse the UTC time string
DateTime utcDateTime = DateTime.parse(utcTime).toUtc();
// Convert to IST (UTC +5:30)
DateTime istDateTime =
utcDateTime.add(const Duration(hours: 5, minutes: 30));
// Format the IST datetime with AM/PM
String formattedDateTime =
DateFormat("dd-MM-yyyy hh:mm a").format(istDateTime);
return formattedDateTime; // Example: 11-02-2025 10:44 AM
}
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(
@@ -134,7 +150,7 @@ class _MyOrderScreenState extends State<MyOrderScreen> {
], ],
), ),
SizedBox(height: 10), SizedBox(height: 10),
Text(order.createdAt.toString(), Text(convertUtcToIst(order.updatedAt.toString()),
style: TextStyle(color: Colors.grey)), style: TextStyle(color: Colors.grey)),
SizedBox(height: 5), SizedBox(height: 5),
Row( Row(

View File

@@ -2,7 +2,9 @@ import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart'; import 'package:go_router/go_router.dart';
import 'package:grocery_app/src/common_widget/network_image.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/core/routes/routes.dart';
import 'package:grocery_app/src/logic/provider/bottom_navbar_provider.dart';
import 'package:grocery_app/src/logic/provider/home_provider.dart'; import 'package:grocery_app/src/logic/provider/home_provider.dart';
import 'package:grocery_app/src/logic/provider/profile_provider.dart';
import 'package:grocery_app/src/ui/card_checkout/card_checkout_screen.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/edit_profile/edit_profile_screen.dart';
@@ -29,120 +31,134 @@ class ProfileScreen extends StatefulWidget {
class _ProfileScreenState extends State<ProfileScreen> { class _ProfileScreenState extends State<ProfileScreen> {
var top = 0.0; var top = 0.0;
@override
void initState()
{
Provider.of<ProfileProvider>(context, listen: false).getProfile(context);
getUserDetails();
super.initState();
}
getUserDetails() async {
APPSTRING.userName = (await SharedPrefUtils.getFirstName())!;
APPSTRING.emailName = (await SharedPrefUtils.getUserEmail())!;
APPSTRING.userProfile = (await SharedPrefUtils.getUserProfile())!;
APPSTRING.userLastName = (await SharedPrefUtils.getLastName())!;
}
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
print("jdfgkjhgjh ${APPSTRING.userProfile}");
return Scaffold( return Scaffold(
body: NestedScrollView( body: NestedScrollView(
headerSliverBuilder: (BuildContext context, bool innerBoxIsScrolled) { headerSliverBuilder: (BuildContext context, bool innerBoxIsScrolled) {
return <Widget>[ return <Widget>[
SliverAppBar( Consumer<ProfileProvider>(builder: (context, provider, child)
expandedHeight: 180.0, {
floating: false, return SliverAppBar(
pinned: true, expandedHeight: 180.0,
backgroundColor: Colors.white, floating: false,
leading: const SizedBox(), pinned: true,
flexibleSpace: LayoutBuilder( backgroundColor: Colors.white,
builder: (BuildContext context, BoxConstraints constraints) { leading: const SizedBox(),
top = constraints.biggest.height; flexibleSpace: LayoutBuilder(builder:
(BuildContext context, BoxConstraints constraints) {
top = constraints.biggest.height;
return FlexibleSpaceBar( return FlexibleSpaceBar(
centerTitle: true, centerTitle: true,
title: Column( title: Column(
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [
top > 100 top > 100
? Text( ? Text(
"My Profile", "My Profile",
style: style:
context.customExtraBold(Colors.white, 14), context.customExtraBold(Colors.white, 14),
)
: const SizedBox(),
const SizedBox(
height: 30,
),
//Spacer(),
Row(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
const SizedBox(
width: 15,
),
Stack(
children: [
AppNetworkImage(
height: top < 150 ? 30 : 50,
width: top < 150 ? 30 : 50,
imageUrl: "${APPSTRING.userProfile ?? ""}" ??
"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTdQLwDqDwd2JfzifvfBTFT8I7iKFFevcedYg&s",
radius: 90,
backGroundColor: Colors.white,
boxFit: BoxFit.fill,
),
// top > 100
// ? Positioned(
// bottom: 0,
// right: 0,
// child: Container(
// height: 18,
// width: 18,
// decoration: BoxDecoration(
// color: APPCOLOR.lightGreen,
// border: Border.all(
// color: Colors.white),
// borderRadius:
// BorderRadius.circular(5)),
// child: Center(
// child: Icon(
// MdiIcons.pencil,
// size: 10,
// color: Colors.white,
// ),
// ),
// ))
// : const SizedBox(),
],
),
const SizedBox(
width: 15,
),
Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisSize: MainAxisSize.min,
children: [
Text(
APPSTRING.userName ?? "",
style: context.customExtraBold(
top < 100 ? Colors.black : Colors.white,
14),
),
Text(
APPSTRING.emailName,
style: context.customRegular(
top < 100 ? Colors.black : Colors.white,
10),
) )
], : const SizedBox(),
),
const SizedBox( const SizedBox(
width: 15, height: 30,
), ),
], //Spacer(),
), Row(
], crossAxisAlignment: CrossAxisAlignment.center,
), children: [
background: Container( const SizedBox(
height: 200, width: 15,
decoration: BoxDecoration( ),
color: APPCOLOR.lightGreen, Stack(
borderRadius: const BorderRadius.only( children: [
bottomLeft: Radius.circular(30), AppNetworkImage(
bottomRight: Radius.circular(30))), height: top < 150 ? 30 : 50,
)); width: top < 150 ? 30 : 50,
}), imageUrl: provider.profile ?? "",
), radius: 90,
backGroundColor: Colors.white,
boxFit: BoxFit.fill,
),
],
),
const SizedBox(
width: 15,
),
if (provider.name.isNotEmpty) ...{
Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisSize: MainAxisSize.min,
children: [
Text(
provider.name ?? " ",
style: context.customExtraBold(
top < 100
? Colors.black
: Colors.white,
14),
),
Text(
provider.email,
style: context.customRegular(
top < 100
? Colors.black
: Colors.white,
10),
)
],
),
} else ...{
InkWell(
onTap: () {
context.push(MyRoutes.SIGNUP);
},
child: Text(
"Login ",
style: context.customExtraBold(
top < 100 ? Colors.blue : Colors.blue,
14),
),
)
},
const SizedBox(
width: 15,
),
],
),
],
),
background: Container(
height: 200,
decoration: BoxDecoration(
color: APPCOLOR.lightGreen,
borderRadius: const BorderRadius.only(
bottomLeft: Radius.circular(30),
bottomRight: Radius.circular(30))),
));
}),
);
})
]; ];
}, },
body: Column( body: Column(
@@ -158,7 +174,7 @@ class _ProfileScreenState extends State<ProfileScreen> {
onTap: () { onTap: () {
Navigator.of(context).push(MaterialPageRoute( Navigator.of(context).push(MaterialPageRoute(
builder: (context) { builder: (context) {
return const EditProfileScreen(); return EditProfileScreen();
}, },
)); ));
}, },

View File

@@ -36,27 +36,31 @@ class SharedPrefUtils {
static const String STORE_ID = "STORE_ID"; static const String STORE_ID = "STORE_ID";
static const String REFRESH_TOKEN = "REFRESH_TOKEN"; static const String REFRESH_TOKEN = "REFRESH_TOKEN";
static const String KEY_NAME = "user_name"; static const String KEY_FIRSTNAME = "KEY_FIRSTNAME";
static const String KEY_LAST_NAME = "user_name"; static const String KEY_LAST_NAME = "KEY_LAST_NAME";
static const String KEY_EMAIL = "user_email"; static const String KEY_EMAIL = "KEY_EMAIL";
static const String KEY_PROFILE = "user_profile"; static const String KEY_PROFILE = "KEY_PROFILE";
static Future<void> saveUser({ static Future<void> saveUser({
required UserProfile user, required UserProfile user,
}) async { }) async {
print("jdhsfhjdjfhg ${user.img}");
SharedPreferences prefs = await SharedPreferences.getInstance(); SharedPreferences prefs = await SharedPreferences.getInstance();
await prefs.setString(KEY_NAME, user.firstName ?? "");
await prefs.setString(KEY_LAST_NAME, user.lastName ?? ""); print("lkdjglkdfhgkhl ${user.firstName}");
await prefs.setString(KEY_FIRSTNAME, user.firstName ?? "");
await prefs.setString(KEY_LAST_NAME, user.lastName ?? "");
await prefs.setString(KEY_EMAIL, user.email ?? " "); await prefs.setString(KEY_EMAIL, user.email ?? " ");
await prefs.setString(KEY_PROFILE, user.img ?? " "); await prefs.setString(KEY_PROFILE, user.img ?? " ");
} }
static Future<String?> getUserName() async { static Future<String?> getFirstName() async {
SharedPreferences prefs = await SharedPreferences.getInstance(); SharedPreferences prefs = await SharedPreferences.getInstance();
return prefs.getString(KEY_NAME);
print("kjdshfgjkhdf ${prefs.getString(KEY_FIRSTNAME)}");
return prefs.getString(KEY_FIRSTNAME);
} }
static Future<String?> getLastName() async {
static Future<String?> getLastName() async {
SharedPreferences prefs = await SharedPreferences.getInstance(); SharedPreferences prefs = await SharedPreferences.getInstance();
return prefs.getString(KEY_LAST_NAME); return prefs.getString(KEY_LAST_NAME);
} }
@@ -260,17 +264,6 @@ class SharedPrefUtils {
/// ///
/// ///
static Future<String> getFirstName() async {
final sp = await SharedPreferences.getInstance();
final firstName = sp.getString(FIRST_NAME);
print("lkjhdsgkhfdkjg ${sp.getString(FIRST_NAME)}");
return firstName!;
}
static Future<String> getEmail() async { static Future<String> getEmail() async {
final sp = await SharedPreferences.getInstance(); final sp = await SharedPreferences.getInstance();
return sp.getString(EMAIL) ?? ""; return sp.getString(EMAIL) ?? "";

View File

@@ -716,18 +716,18 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: leak_tracker name: leak_tracker
sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a" sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "10.0.4" version: "10.0.5"
leak_tracker_flutter_testing: leak_tracker_flutter_testing:
dependency: transitive dependency: transitive
description: description:
name: leak_tracker_flutter_testing name: leak_tracker_flutter_testing
sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8" sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "3.0.3" version: "3.0.5"
leak_tracker_testing: leak_tracker_testing:
dependency: transitive dependency: transitive
description: description:
@@ -772,10 +772,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: material_color_utilities name: material_color_utilities
sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.8.0" version: "0.11.1"
material_design_icons_flutter: material_design_icons_flutter:
dependency: "direct main" dependency: "direct main"
description: description:
@@ -788,10 +788,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: meta name: meta
sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136" sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.12.0" version: "1.15.0"
mime: mime:
dependency: transitive dependency: transitive
description: description:
@@ -1145,10 +1145,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: test_api name: test_api
sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f" sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.7.0" version: "0.7.2"
typed_data: typed_data:
dependency: transitive dependency: transitive
description: description:
@@ -1265,10 +1265,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: vm_service name: vm_service
sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec" sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "14.2.1" version: "14.2.5"
web: web:
dependency: transitive dependency: transitive
description: description: