final category issue fixed
This commit is contained in:
38
.dart_tool/dartpad/web_plugin_registrant.dart
Normal file
38
.dart_tool/dartpad/web_plugin_registrant.dart
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
// 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:firebase_core_web/firebase_core_web.dart';
|
||||||
|
import 'package:firebase_messaging_web/firebase_messaging_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:permission_handler_html/permission_handler_html.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);
|
||||||
|
FirebaseCoreWeb.registerWith(registrar);
|
||||||
|
FirebaseMessagingWeb.registerWith(registrar);
|
||||||
|
InAppWebViewFlutterPlugin.registerWith(registrar);
|
||||||
|
FluttertoastWebPlugin.registerWith(registrar);
|
||||||
|
GeolocatorPlugin.registerWith(registrar);
|
||||||
|
GoogleMapsPlugin.registerWith(registrar);
|
||||||
|
ImagePickerPlugin.registerWith(registrar);
|
||||||
|
PackageInfoPlusWebPlugin.registerWith(registrar);
|
||||||
|
WebPermissionHandler.registerWith(registrar);
|
||||||
|
SharedPreferencesPlugin.registerWith(registrar);
|
||||||
|
UrlLauncherPlugin.registerWith(registrar);
|
||||||
|
registrar.registerMessageHandler();
|
||||||
|
}
|
||||||
1127
.dart_tool/package_config.json
Normal file
1127
.dart_tool/package_config.json
Normal file
File diff suppressed because it is too large
Load Diff
745
.dart_tool/package_config_subset
Normal file
745
.dart_tool/package_config_subset
Normal file
@@ -0,0 +1,745 @@
|
|||||||
|
_flutterfire_internals
|
||||||
|
3.2
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/_flutterfire_internals-1.3.54/
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/_flutterfire_internals-1.3.54/lib/
|
||||||
|
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/
|
||||||
|
art_sweetalert
|
||||||
|
2.12
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/art_sweetalert-0.0.5/
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/art_sweetalert-0.0.5/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/
|
||||||
|
blur
|
||||||
|
3.4
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/blur-4.0.0/
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/blur-4.0.0/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/
|
||||||
|
change_app_package_name
|
||||||
|
2.12
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/change_app_package_name-1.5.0/
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/change_app_package_name-1.5.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/
|
||||||
|
firebase_core
|
||||||
|
3.2
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/firebase_core-3.13.0/
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/firebase_core-3.13.0/lib/
|
||||||
|
firebase_core_platform_interface
|
||||||
|
3.2
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/firebase_core_platform_interface-5.4.0/
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/firebase_core_platform_interface-5.4.0/lib/
|
||||||
|
firebase_core_web
|
||||||
|
3.4
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/firebase_core_web-2.22.0/
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/firebase_core_web-2.22.0/lib/
|
||||||
|
firebase_messaging
|
||||||
|
3.2
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/firebase_messaging-15.2.5/
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/firebase_messaging-15.2.5/lib/
|
||||||
|
firebase_messaging_platform_interface
|
||||||
|
3.2
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/firebase_messaging_platform_interface-4.6.5/
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/firebase_messaging_platform_interface-4.6.5/lib/
|
||||||
|
firebase_messaging_web
|
||||||
|
3.4
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/firebase_messaging_web-3.10.5/
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/firebase_messaging_web-3.10.5/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_local_notifications
|
||||||
|
3.1
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_local_notifications-18.0.1/
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_local_notifications-18.0.1/lib/
|
||||||
|
flutter_local_notifications_linux
|
||||||
|
3.1
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_local_notifications_linux-5.0.0/
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_local_notifications_linux-5.0.0/lib/
|
||||||
|
flutter_local_notifications_platform_interface
|
||||||
|
3.1
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_local_notifications_platform_interface-8.0.0/
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_local_notifications_platform_interface-8.0.0/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_bar
|
||||||
|
2.14
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_rating_bar-4.0.1/
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/flutter_rating_bar-4.0.1/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/
|
||||||
|
permission_handler
|
||||||
|
2.15
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/permission_handler-11.3.1/
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/permission_handler-11.3.1/lib/
|
||||||
|
permission_handler_android
|
||||||
|
2.15
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/permission_handler_android-12.0.13/
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/permission_handler_android-12.0.13/lib/
|
||||||
|
permission_handler_apple
|
||||||
|
2.18
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/lib/
|
||||||
|
permission_handler_html
|
||||||
|
3.3
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/permission_handler_html-0.1.3+5/
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/permission_handler_html-0.1.3+5/lib/
|
||||||
|
permission_handler_platform_interface
|
||||||
|
2.14
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/permission_handler_platform_interface-4.2.3/
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/permission_handler_platform_interface-4.2.3/lib/
|
||||||
|
permission_handler_windows
|
||||||
|
2.12
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/permission_handler_windows-0.2.1/
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/permission_handler_windows-0.2.1/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/
|
||||||
|
timezone
|
||||||
|
2.19
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/timezone-0.9.4/
|
||||||
|
file:///Users/apple/.pub-cache/hosted/pub.dev/timezone-0.9.4/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
1
.dart_tool/version
Normal file
@@ -0,0 +1 @@
|
|||||||
|
3.24.3
|
||||||
63
.flutter-plugins
Normal file
63
.flutter-plugins
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
# 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/
|
||||||
|
firebase_core=/Users/apple/.pub-cache/hosted/pub.dev/firebase_core-3.13.0/
|
||||||
|
firebase_core_web=/Users/apple/.pub-cache/hosted/pub.dev/firebase_core_web-2.22.0/
|
||||||
|
firebase_messaging=/Users/apple/.pub-cache/hosted/pub.dev/firebase_messaging-15.2.5/
|
||||||
|
firebase_messaging_web=/Users/apple/.pub-cache/hosted/pub.dev/firebase_messaging_web-3.10.5/
|
||||||
|
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_local_notifications=/Users/apple/.pub-cache/hosted/pub.dev/flutter_local_notifications-18.0.1/
|
||||||
|
flutter_local_notifications_linux=/Users/apple/.pub-cache/hosted/pub.dev/flutter_local_notifications_linux-5.0.0/
|
||||||
|
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/
|
||||||
|
permission_handler=/Users/apple/.pub-cache/hosted/pub.dev/permission_handler-11.3.1/
|
||||||
|
permission_handler_android=/Users/apple/.pub-cache/hosted/pub.dev/permission_handler_android-12.0.13/
|
||||||
|
permission_handler_apple=/Users/apple/.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/
|
||||||
|
permission_handler_html=/Users/apple/.pub-cache/hosted/pub.dev/permission_handler_html-0.1.3+5/
|
||||||
|
permission_handler_windows=/Users/apple/.pub-cache/hosted/pub.dev/permission_handler_windows-0.2.1/
|
||||||
|
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/
|
||||||
1
.flutter-plugins-dependencies
Normal file
1
.flutter-plugins-dependencies
Normal file
File diff suppressed because one or more lines are too long
@@ -241,37 +241,13 @@ class ProductProvider extends ChangeNotifier {
|
|||||||
Future<void> getAllcategory(BuildContext context) async {
|
Future<void> getAllcategory(BuildContext context) async {
|
||||||
var data = {};
|
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();
|
|
||||||
},
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
Future<void> getSubcategory(BuildContext context, String? id) async {
|
|
||||||
var data = {"parentId": id};
|
|
||||||
|
|
||||||
print("kdjhgkjfkjgkj ${id}");
|
|
||||||
|
|
||||||
var result = await _homeRepo.getSubcategory(data, context);
|
var result = await _homeRepo.getSubcategory(data, context);
|
||||||
return result.fold(
|
return result.fold(
|
||||||
(error) {
|
(error) {
|
||||||
print("djhgfjdfhjg ${error}");
|
|
||||||
iscategroyloading = false;
|
iscategroyloading = false;
|
||||||
notifyListeners();
|
notifyListeners();
|
||||||
},
|
},
|
||||||
(response) {
|
(response) {
|
||||||
print("dsfdgdfgfhfghjghjghjghjhkghj");
|
|
||||||
categoryList = response!;
|
categoryList = response!;
|
||||||
iscategroyloading = false;
|
iscategroyloading = false;
|
||||||
notifyListeners();
|
notifyListeners();
|
||||||
@@ -279,10 +255,31 @@ class ProductProvider extends ChangeNotifier {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Future<void> getSubcategory(BuildContext context, String? id) async {
|
||||||
|
// var data = {"parentId": id};
|
||||||
|
|
||||||
|
// var result = await _homeRepo.getSubcategory(data, context);
|
||||||
|
// return result.fold(
|
||||||
|
// (error) {
|
||||||
|
// print("djhgfjdfhjg ${error}");
|
||||||
|
// subCategoryloading = false;
|
||||||
|
// notifyListeners();
|
||||||
|
// },
|
||||||
|
// (response) {
|
||||||
|
// print("dsfdgdfgfhfghjghjghjghjhkghj");
|
||||||
|
// categoryList = response!;
|
||||||
|
// subCategoryloading = false;
|
||||||
|
// notifyListeners();
|
||||||
|
// },
|
||||||
|
// );
|
||||||
|
// }
|
||||||
|
|
||||||
List<ProductCategoryModel> categoriesss = [];
|
List<ProductCategoryModel> categoriesss = [];
|
||||||
|
|
||||||
ProductCategoryModel? selectedCategory;
|
ProductCategoryModel? selectedCategory;
|
||||||
|
|
||||||
|
bool subCategoryloading = true;
|
||||||
|
|
||||||
Future<void> getCategoryByLevel() async {
|
Future<void> getCategoryByLevel() async {
|
||||||
categoriesss.clear();
|
categoriesss.clear();
|
||||||
|
|
||||||
@@ -290,6 +287,7 @@ class ProductProvider extends ChangeNotifier {
|
|||||||
|
|
||||||
result.fold(
|
result.fold(
|
||||||
(error) {
|
(error) {
|
||||||
|
subCategoryloading = false;
|
||||||
print("Error fetching categories: $error");
|
print("Error fetching categories: $error");
|
||||||
notifyListeners();
|
notifyListeners();
|
||||||
},
|
},
|
||||||
@@ -302,6 +300,7 @@ class ProductProvider extends ChangeNotifier {
|
|||||||
} else {
|
} else {
|
||||||
print("No categories found.");
|
print("No categories found.");
|
||||||
}
|
}
|
||||||
|
subCategoryloading = false;
|
||||||
notifyListeners(); // Notify UI after update
|
notifyListeners(); // Notify UI after update
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
@@ -534,10 +533,9 @@ class ProductProvider extends ChangeNotifier {
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
(response)
|
(response) async {
|
||||||
async {
|
cartItems.add(productId);
|
||||||
cartItems.add(productId);
|
|
||||||
|
|
||||||
Fluttertoast.showToast(
|
Fluttertoast.showToast(
|
||||||
msg: "Added to cart successfully!",
|
msg: "Added to cart successfully!",
|
||||||
toastLength: Toast.LENGTH_SHORT,
|
toastLength: Toast.LENGTH_SHORT,
|
||||||
@@ -547,7 +545,7 @@ class ProductProvider extends ChangeNotifier {
|
|||||||
fontSize: 14.0,
|
fontSize: 14.0,
|
||||||
);
|
);
|
||||||
iscardAdded = true;
|
iscardAdded = true;
|
||||||
notifyListeners();
|
notifyListeners();
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ class ProductRepo {
|
|||||||
ProductCategory productCategory =
|
ProductCategory productCategory =
|
||||||
productCategoryFromJson(response.toString());
|
productCategoryFromJson(response.toString());
|
||||||
|
|
||||||
// final String model = response.toString();
|
|
||||||
|
|
||||||
return right(productCategory);
|
return right(productCategory);
|
||||||
} on DioException catch (e) {
|
} on DioException catch (e) {
|
||||||
@@ -103,8 +103,7 @@ class ProductRepo {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
FutureResult<List<DatumCategory>> getSubcategory(
|
FutureResult<List<DatumCategory>> getSubcategory( data, BuildContext context) async {
|
||||||
data, BuildContext context) async {
|
|
||||||
try {
|
try {
|
||||||
var response = await _productService.getSubcategory(data);
|
var response = await _productService.getSubcategory(data);
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ class ProductService extends ApiService {
|
|||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Future updateDeviceToken(data) async {
|
Future updateDeviceToken(data) async {
|
||||||
var response =
|
var response =
|
||||||
await api.post(APIURL.upDateDeviceToken, data: jsonEncode(data));
|
await api.post(APIURL.upDateDeviceToken, data: jsonEncode(data));
|
||||||
@@ -48,8 +47,6 @@ class ProductService extends ApiService {
|
|||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
||||||
Future getBestDealProduct(data) async {
|
Future getBestDealProduct(data) async {
|
||||||
@@ -65,20 +62,20 @@ class ProductService extends ApiService {
|
|||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
Future getSubcategory(data) async {
|
Future getSubcategory(data) async {
|
||||||
var response = await api.get(APIURL.getSubcategory, data: jsonEncode(data),queryParameters: data);
|
|
||||||
|
var response = await api.get(APIURL.getSubcategory, data: jsonEncode(data));
|
||||||
|
|
||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
Future getCategoryByLevel(data) async {
|
Future getCategoryByLevel(data) async {
|
||||||
var response = await api.get(APIURL.getCategoryByLevel, data: jsonEncode(data));
|
var response =
|
||||||
|
await api.get(APIURL.getCategoryByLevel, data: jsonEncode(data));
|
||||||
|
|
||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Future paymentOrder(data) async {
|
Future paymentOrder(data) async {
|
||||||
var response = await api.post(APIURL.paymentOrder, data: jsonEncode(data));
|
var response = await api.post(APIURL.paymentOrder, data: jsonEncode(data));
|
||||||
|
|
||||||
@@ -124,7 +121,7 @@ Future getCategoryByLevel(data) async {
|
|||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
Future checkAddress(data, id) async {
|
Future checkAddress(data, id) async {
|
||||||
var response =
|
var response =
|
||||||
await api.get(APIURL.checkAddress + id, data: jsonEncode(data));
|
await api.get(APIURL.checkAddress + id, data: jsonEncode(data));
|
||||||
return response;
|
return response;
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ 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/data/ProductCategoryModel.dart';
|
import 'package:grocery_app/src/data/ProductCategoryModel.dart';
|
||||||
import 'package:grocery_app/src/data/product_category.dart';
|
import 'package:grocery_app/src/data/product_category.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/ui/data_notfound.dart';
|
import 'package:grocery_app/src/ui/data_notfound.dart';
|
||||||
import 'package:grocery_app/utils/constants/assets_constant.dart';
|
import 'package:grocery_app/utils/constants/assets_constant.dart';
|
||||||
@@ -34,20 +33,12 @@ class _CtegoryProductState extends State<CtegoryProduct> {
|
|||||||
@override
|
@override
|
||||||
void initState() {
|
void initState() {
|
||||||
super.initState();
|
super.initState();
|
||||||
|
|
||||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||||
final productProvider =
|
final productProvider =
|
||||||
Provider.of<ProductProvider>(context, listen: false);
|
Provider.of<ProductProvider>(context, listen: false);
|
||||||
productProvider.page = 1;
|
productProvider.page = 1;
|
||||||
|
|
||||||
// productProvider.gettAllProduct(context, "", true, '', true);
|
|
||||||
productProvider.gettAllProduct(
|
productProvider.gettAllProduct(
|
||||||
context, "/category/${widget.categoryId}", true, '', false);
|
context, "/category/${widget.categoryId}", true, '', false);
|
||||||
|
|
||||||
// productProvider.getAllcategory(context);
|
|
||||||
// productProvider.getCategoryByLevel();
|
|
||||||
|
|
||||||
// productProvider.setActiveIndex(0);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
_scrollController.addListener(() {
|
_scrollController.addListener(() {
|
||||||
@@ -55,7 +46,6 @@ class _CtegoryProductState extends State<CtegoryProduct> {
|
|||||||
_scrollController.position.maxScrollExtent) {
|
_scrollController.position.maxScrollExtent) {
|
||||||
final productProvider =
|
final productProvider =
|
||||||
Provider.of<ProductProvider>(context, listen: false);
|
Provider.of<ProductProvider>(context, listen: false);
|
||||||
|
|
||||||
productProvider.gettAllProduct(context, "", false, '', false);
|
productProvider.gettAllProduct(context, "", false, '', false);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -78,28 +68,31 @@ class _CtegoryProductState extends State<CtegoryProduct> {
|
|||||||
height: 20,
|
height: 20,
|
||||||
width: 20,
|
width: 20,
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
},
|
},
|
||||||
child: SvgPicture.asset(
|
child: SvgPicture.asset(
|
||||||
APPASSETS.back,
|
APPASSETS.back,
|
||||||
height: 20,
|
height: 20,
|
||||||
width: 20,
|
width: 20,
|
||||||
)),
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
title: Text(
|
title: Text(
|
||||||
widget.name ?? "",
|
widget.name,
|
||||||
style: TextStyle(
|
style: const TextStyle(
|
||||||
fontSize: 20,
|
fontSize: 20,
|
||||||
fontWeight: FontWeight.w700,
|
fontWeight: FontWeight.w700,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
actions: [],
|
actions: [],
|
||||||
),
|
),
|
||||||
body: Padding(
|
body: Column(
|
||||||
padding: const EdgeInsets.all(8.0),
|
children: [
|
||||||
child: productWidget(),
|
const SizedBox(height: 8),
|
||||||
|
Expanded(child: productWidget()),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -108,20 +101,22 @@ class _CtegoryProductState extends State<CtegoryProduct> {
|
|||||||
return Consumer<ProductProvider>(builder: (context, provider, child) {
|
return Consumer<ProductProvider>(builder: (context, provider, child) {
|
||||||
if (provider.isLoadingg) {
|
if (provider.isLoadingg) {
|
||||||
return Center(
|
return Center(
|
||||||
child: Container(
|
child: Container(
|
||||||
width: 30,
|
width: 30,
|
||||||
height: 30,
|
height: 30,
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: Colors.transparent,
|
color: Colors.transparent,
|
||||||
borderRadius: BorderRadius.circular(20),
|
borderRadius: BorderRadius.circular(20),
|
||||||
border: Border.all(
|
border: Border.all(
|
||||||
color: APPCOLOR.bgGrey,
|
color: APPCOLOR.bgGrey,
|
||||||
width: 1,
|
width: 1,
|
||||||
)),
|
),
|
||||||
child: const Center(
|
),
|
||||||
child: CupertinoActivityIndicator(),
|
child: const Center(
|
||||||
|
child: CupertinoActivityIndicator(),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
));
|
);
|
||||||
} else if (provider.products.isEmpty) {
|
} else if (provider.products.isEmpty) {
|
||||||
return Center(
|
return Center(
|
||||||
child: DataNotFound(
|
child: DataNotFound(
|
||||||
@@ -132,235 +127,200 @@ class _CtegoryProductState extends State<CtegoryProduct> {
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return Expanded(
|
return Padding(
|
||||||
child: Padding(
|
padding: const EdgeInsets.symmetric(horizontal: 10),
|
||||||
padding: const EdgeInsets.only(left: 10, right: 10),
|
child: LayoutBuilder(
|
||||||
child: LayoutBuilder(
|
builder: (context, constraints) {
|
||||||
builder: (context, constraints) {
|
final itemWidth = (constraints.maxWidth - 20) / 2;
|
||||||
final itemWidth = (constraints.maxWidth - 20) / 2;
|
final itemHeight = itemWidth * 1.7;
|
||||||
final itemHeight = itemWidth * 1.7;
|
|
||||||
|
|
||||||
return GridView.builder(
|
return GridView.builder(
|
||||||
controller: _scrollController,
|
physics: BouncingScrollPhysics(),
|
||||||
itemCount:
|
controller: _scrollController,
|
||||||
provider.products.length + (provider.hasMore ? 1 : 0),
|
itemCount:
|
||||||
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
|
provider.products.length + (provider.hasMore ? 1 : 0),
|
||||||
crossAxisCount: 2,
|
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
|
||||||
childAspectRatio: itemWidth / itemHeight,
|
crossAxisCount: 2,
|
||||||
crossAxisSpacing: 10,
|
childAspectRatio: itemWidth / itemHeight,
|
||||||
mainAxisSpacing: 10,
|
crossAxisSpacing: 10,
|
||||||
),
|
mainAxisSpacing: 10,
|
||||||
itemBuilder: (context, index) {
|
),
|
||||||
if (index == provider.products.length) {
|
itemBuilder: (context, index) {
|
||||||
return SizedBox.shrink();
|
if (index == provider.products.length) {
|
||||||
}
|
return const SizedBox.shrink();
|
||||||
var product = provider.products[index];
|
}
|
||||||
return InkWell(
|
var product = provider.products[index];
|
||||||
onTap: () async {
|
return InkWell(
|
||||||
var status = await provider.getProduuctDetails(
|
onTap: () async {
|
||||||
context, product.id, 1, product.discountPrice);
|
var status = await provider.getProduuctDetails(
|
||||||
if (status) {
|
context, product.id, 1, product.discountPrice);
|
||||||
context.push(
|
if (status) {
|
||||||
MyRoutes.PRODUCTDETAILS,
|
context.push(
|
||||||
extra: {
|
MyRoutes.PRODUCTDETAILS,
|
||||||
"id": product.id,
|
extra: {
|
||||||
"quantity": 1,
|
"id": product.id,
|
||||||
"price": product.discountPrice,
|
"quantity": 1,
|
||||||
},
|
"price": product.discountPrice,
|
||||||
);
|
},
|
||||||
}
|
);
|
||||||
|
}
|
||||||
// context.push(
|
},
|
||||||
// MyRoutes.PRODUCTDETAILS,
|
child: Container(
|
||||||
// extra: {
|
height: itemHeight,
|
||||||
// "id": product.id,
|
decoration: BoxDecoration(
|
||||||
// "quantity": 1,
|
color: Colors.white,
|
||||||
// "price": product.discountPrice,
|
borderRadius: BorderRadius.circular(15),
|
||||||
// },
|
),
|
||||||
// );
|
child: Column(
|
||||||
},
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
child: Container(
|
children: [
|
||||||
height: itemHeight,
|
Container(
|
||||||
decoration: BoxDecoration(
|
height: itemWidth * 1.1,
|
||||||
color: Colors.white,
|
decoration: BoxDecoration(
|
||||||
borderRadius: BorderRadius.circular(15),
|
color: APPCOLOR.bgGrey,
|
||||||
// boxShadow: [
|
borderRadius: BorderRadius.circular(15),
|
||||||
// BoxShadow(
|
|
||||||
// color: Colors.grey.withOpacity(0.1),
|
|
||||||
// blurRadius: 1,
|
|
||||||
// offset: const Offset(5, 5),
|
|
||||||
// ),
|
|
||||||
// ],
|
|
||||||
),
|
|
||||||
child: Column(
|
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
|
||||||
children: [
|
|
||||||
Container(
|
|
||||||
height: itemWidth *
|
|
||||||
1.1, // Adjust height for image container
|
|
||||||
// width: itemWidth,
|
|
||||||
decoration: BoxDecoration(
|
|
||||||
color: APPCOLOR.bgGrey,
|
|
||||||
borderRadius: BorderRadius.circular(15),
|
|
||||||
),
|
|
||||||
child: Stack(
|
|
||||||
alignment: Alignment.center,
|
|
||||||
children: [
|
|
||||||
AppNetworkImage(
|
|
||||||
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,
|
|
||||||
radius: 10,
|
|
||||||
boxFit: BoxFit.fill),
|
|
||||||
Positioned(
|
|
||||||
right: 1,
|
|
||||||
bottom: 0,
|
|
||||||
child: Container(
|
|
||||||
height: 35,
|
|
||||||
width: 35,
|
|
||||||
padding: EdgeInsets.symmetric(
|
|
||||||
horizontal: 1, vertical: 1),
|
|
||||||
decoration: BoxDecoration(
|
|
||||||
color: Colors.red,
|
|
||||||
borderRadius:
|
|
||||||
BorderRadius.circular(100),
|
|
||||||
),
|
|
||||||
child: Center(
|
|
||||||
child: Text(
|
|
||||||
"${calculateDiscountPercentage(double.parse(product.basePrice), double.parse(product!.discountPrice))}%\nOFF",
|
|
||||||
textAlign: TextAlign.center,
|
|
||||||
style: TextStyle(
|
|
||||||
color: Colors.white,
|
|
||||||
fontWeight: FontWeight.bold,
|
|
||||||
fontSize: 10)),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
)
|
|
||||||
],
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
const SizedBox(height: 5),
|
child: Stack(
|
||||||
Text(
|
alignment: Alignment.center,
|
||||||
product.name ?? " ",
|
|
||||||
textAlign: TextAlign.left,
|
|
||||||
maxLines: 1,
|
|
||||||
overflow: TextOverflow.ellipsis,
|
|
||||||
style: context
|
|
||||||
.customMedium(
|
|
||||||
APPCOLOR.balck1A1A1A,
|
|
||||||
15,
|
|
||||||
)
|
|
||||||
.copyWith(fontWeight: FontWeight.bold),
|
|
||||||
),
|
|
||||||
const SizedBox(height: 2),
|
|
||||||
Text(
|
|
||||||
product.unit ?? " ",
|
|
||||||
textAlign: TextAlign.left,
|
|
||||||
maxLines: 1,
|
|
||||||
overflow: TextOverflow.ellipsis,
|
|
||||||
style: context.customMedium(
|
|
||||||
Colors.grey.withOpacity(0.8),
|
|
||||||
13,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
const SizedBox(height: 1),
|
|
||||||
Spacer(),
|
|
||||||
Row(
|
|
||||||
children: [
|
children: [
|
||||||
Column(
|
AppNetworkImage(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
imageUrl: product.productImages!.first.url ??
|
||||||
children: [
|
"https://5.imimg.com/data5/SELLER/Default/2024/2/385126988/OL/DA/VW/8627346/1l-fortune-sunflower-oil.jpg",
|
||||||
Text(
|
backGroundColor: Colors.transparent,
|
||||||
"₹${product.discountPrice ?? " "}",
|
radius: 10,
|
||||||
textAlign: TextAlign.left,
|
boxFit: BoxFit.fill,
|
||||||
maxLines: 1,
|
|
||||||
overflow: TextOverflow.ellipsis,
|
|
||||||
style: context.customSemiBold(
|
|
||||||
Colors.black, 15),
|
|
||||||
),
|
|
||||||
const SizedBox(width: 5),
|
|
||||||
Text(
|
|
||||||
"₹${product.basePrice ?? " "}",
|
|
||||||
textAlign: TextAlign.left,
|
|
||||||
maxLines: 1,
|
|
||||||
overflow: TextOverflow.ellipsis,
|
|
||||||
style: context
|
|
||||||
.customMedium(
|
|
||||||
Colors.grey.withOpacity(0.8),
|
|
||||||
15,
|
|
||||||
)
|
|
||||||
.copyWith(
|
|
||||||
decoration:
|
|
||||||
TextDecoration.lineThrough,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
Spacer(),
|
Positioned(
|
||||||
Align(
|
right: 1,
|
||||||
alignment: Alignment.centerRight,
|
bottom: 0,
|
||||||
child: GestureDetector(
|
child: Container(
|
||||||
onTap: () async {
|
height: 35,
|
||||||
print(
|
width: 35,
|
||||||
"Add to Cart Pressed for ${product.id}");
|
padding: const EdgeInsets.all(1),
|
||||||
|
decoration: BoxDecoration(
|
||||||
if (await SharedPrefUtils.getToken() !=
|
color: Colors.red,
|
||||||
null) {
|
borderRadius: BorderRadius.circular(100),
|
||||||
await provider.addToCart(
|
),
|
||||||
context, product.id!, 1);
|
child: Center(
|
||||||
} else {
|
child: Text(
|
||||||
context.push(MyRoutes.SIGNUP);
|
"${calculateDiscountPercentage(double.parse(product.basePrice), double.parse(product.discountPrice))}%\nOFF",
|
||||||
}
|
textAlign: TextAlign.center,
|
||||||
},
|
style: const TextStyle(
|
||||||
child: Container(
|
color: Colors.white,
|
||||||
height:
|
fontWeight: FontWeight.bold,
|
||||||
MediaQuery.of(context).size.height *
|
fontSize: 10,
|
||||||
0.038,
|
),
|
||||||
width: MediaQuery.of(context).size.width *
|
|
||||||
0.1,
|
|
||||||
decoration: BoxDecoration(
|
|
||||||
color: APPCOLOR.lightGreen,
|
|
||||||
borderRadius: BorderRadius.circular(5),
|
|
||||||
),
|
|
||||||
child: Center(
|
|
||||||
child: provider.isLoading[product.id] ??
|
|
||||||
false
|
|
||||||
? Padding(
|
|
||||||
padding:
|
|
||||||
const EdgeInsets.all(8.0),
|
|
||||||
child: Container(
|
|
||||||
height: 10,
|
|
||||||
width: 10,
|
|
||||||
child:
|
|
||||||
CircularProgressIndicator(
|
|
||||||
color: Colors.white,
|
|
||||||
strokeWidth: 2),
|
|
||||||
),
|
|
||||||
)
|
|
||||||
: Text(
|
|
||||||
// provider.cartItems
|
|
||||||
// .contains(bestdealproduct.id)
|
|
||||||
// ? 'Added'
|
|
||||||
// :
|
|
||||||
'Add',
|
|
||||||
style: context.customRegular(
|
|
||||||
Colors.white, 12),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
],
|
),
|
||||||
),
|
const SizedBox(height: 5),
|
||||||
|
Text(
|
||||||
|
product.name ?? " ",
|
||||||
|
maxLines: 1,
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
|
style: context
|
||||||
|
.customMedium(
|
||||||
|
APPCOLOR.balck1A1A1A,
|
||||||
|
15,
|
||||||
|
)
|
||||||
|
.copyWith(fontWeight: FontWeight.bold),
|
||||||
|
),
|
||||||
|
const SizedBox(height: 2),
|
||||||
|
Text(
|
||||||
|
product.unit ?? " ",
|
||||||
|
maxLines: 1,
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
|
style: context.customMedium(
|
||||||
|
Colors.grey.withOpacity(0.8),
|
||||||
|
13,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
const SizedBox(height: 1),
|
||||||
|
const Spacer(),
|
||||||
|
Row(
|
||||||
|
children: [
|
||||||
|
Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: [
|
||||||
|
Text(
|
||||||
|
"₹${product.discountPrice ?? " "}",
|
||||||
|
style: context.customSemiBold(
|
||||||
|
Colors.black, 15),
|
||||||
|
),
|
||||||
|
const SizedBox(width: 5),
|
||||||
|
Text(
|
||||||
|
"₹${product.basePrice ?? " "}",
|
||||||
|
style: context
|
||||||
|
.customMedium(
|
||||||
|
Colors.grey.withOpacity(0.8),
|
||||||
|
15,
|
||||||
|
)
|
||||||
|
.copyWith(
|
||||||
|
decoration:
|
||||||
|
TextDecoration.lineThrough,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
const Spacer(),
|
||||||
|
Align(
|
||||||
|
alignment: Alignment.centerRight,
|
||||||
|
child: GestureDetector(
|
||||||
|
onTap: () async {
|
||||||
|
if (await SharedPrefUtils.getToken() !=
|
||||||
|
null) {
|
||||||
|
await provider.addToCart(
|
||||||
|
context, product.id!, 1);
|
||||||
|
} else {
|
||||||
|
context.push(MyRoutes.SIGNUP);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
child: Container(
|
||||||
|
height: MediaQuery.of(context).size.height *
|
||||||
|
0.038,
|
||||||
|
width:
|
||||||
|
MediaQuery.of(context).size.width * 0.1,
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
color: APPCOLOR.lightGreen,
|
||||||
|
borderRadius: BorderRadius.circular(5),
|
||||||
|
),
|
||||||
|
child: Center(
|
||||||
|
child: provider.isLoading[product.id] ??
|
||||||
|
false
|
||||||
|
? const Padding(
|
||||||
|
padding: EdgeInsets.all(8.0),
|
||||||
|
child: SizedBox(
|
||||||
|
height: 10,
|
||||||
|
width: 10,
|
||||||
|
child:
|
||||||
|
CircularProgressIndicator(
|
||||||
|
color: Colors.white,
|
||||||
|
strokeWidth: 2,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
: Text(
|
||||||
|
'Add',
|
||||||
|
style: context.customRegular(
|
||||||
|
Colors.white, 12),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
);
|
),
|
||||||
},
|
);
|
||||||
);
|
},
|
||||||
},
|
);
|
||||||
),
|
},
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,31 +32,14 @@ class _FruitVeggieDetailState extends State<FruitVeggieDetail> {
|
|||||||
Provider.of<ProductProvider>(context, listen: false);
|
Provider.of<ProductProvider>(context, listen: false);
|
||||||
productProvider.page = 1;
|
productProvider.page = 1;
|
||||||
|
|
||||||
// productProvider.gettAllProduct(context, "", true, '', true);
|
productProvider.getCategoryByLevel();
|
||||||
|
|
||||||
productProvider.getAllcategory(context);
|
productProvider.getAllcategory(context);
|
||||||
productProvider.getCategoryByLevel();
|
|
||||||
|
|
||||||
productProvider.setActiveIndex(0);
|
productProvider.setActiveIndex(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
// _scrollController.addListener(() {
|
|
||||||
// if (_scrollController.position.pixels ==
|
|
||||||
// _scrollController.position.maxScrollExtent) {
|
|
||||||
// final productProvider =
|
|
||||||
// Provider.of<ProductProvider>(context, listen: false);
|
|
||||||
|
|
||||||
// productProvider.gettAllProduct(context, "", false, '', false);
|
|
||||||
// }
|
|
||||||
// });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// @override
|
|
||||||
// void dispose() {
|
|
||||||
// _scrollController.dispose();
|
|
||||||
// super.dispose();
|
|
||||||
// }
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
@@ -103,7 +86,7 @@ class _FruitVeggieDetailState extends State<FruitVeggieDetail> {
|
|||||||
Widget expendablecategory() {
|
Widget expendablecategory() {
|
||||||
return Consumer<ProductProvider>(
|
return Consumer<ProductProvider>(
|
||||||
builder: (context, provider, child) {
|
builder: (context, provider, child) {
|
||||||
if (provider.iscategroyloading) {
|
if (provider.subCategoryloading) {
|
||||||
return const Center(child: CupertinoActivityIndicator());
|
return const Center(child: CupertinoActivityIndicator());
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -180,6 +163,8 @@ class _FruitVeggieDetailState extends State<FruitVeggieDetail> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
} else if (provider.categoryList.isEmpty) {
|
||||||
|
return SizedBox.shrink();
|
||||||
} else {
|
} else {
|
||||||
// final categories = [DatumCategory(id: "all", name: "ALL")];
|
// final categories = [DatumCategory(id: "all", name: "ALL")];
|
||||||
// categories.addAll(provider.categoryList.cast<DatumCategory>());
|
// categories.addAll(provider.categoryList.cast<DatumCategory>());
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ class _HomeScreenState extends State<HomeScreen> {
|
|||||||
productProvider.getBanners(context);
|
productProvider.getBanners(context);
|
||||||
productProvider.getHomeProduct(context, "", '', '', '', '');
|
productProvider.getHomeProduct(context, "", '', '', '', '');
|
||||||
productProvider.getBestDealProduct(context, '');
|
productProvider.getBestDealProduct(context, '');
|
||||||
productProvider.getAllcategory(context);
|
// productProvider.getAllcategory(context);
|
||||||
|
|
||||||
productProvider.updateDeviceToken(context);
|
productProvider.updateDeviceToken(context);
|
||||||
// productProvider.getCategoryByLevel();
|
// productProvider.getCategoryByLevel();
|
||||||
|
|||||||
Reference in New Issue
Block a user