fixed ui after feedback
This commit is contained in:
@@ -1,452 +0,0 @@
|
||||
//
|
||||
// Generated file. Do not edit.
|
||||
// This file is generated from template in file `flutter_tools/lib/src/flutter_plugins.dart`.
|
||||
//
|
||||
|
||||
// @dart = 3.4
|
||||
|
||||
import 'dart:io'; // flutter_ignore: dart_io_import.
|
||||
import 'package:flutter_inappwebview_android/flutter_inappwebview_android.dart';
|
||||
import 'package:flutter_local_notifications/flutter_local_notifications.dart';
|
||||
import 'package:geocoding_android/geocoding_android.dart';
|
||||
import 'package:geolocator_android/geolocator_android.dart';
|
||||
import 'package:google_maps_flutter_android/google_maps_flutter_android.dart';
|
||||
import 'package:image_picker_android/image_picker_android.dart';
|
||||
import 'package:path_provider_android/path_provider_android.dart';
|
||||
import 'package:shared_preferences_android/shared_preferences_android.dart';
|
||||
import 'package:sqflite/sqflite.dart';
|
||||
import 'package:url_launcher_android/url_launcher_android.dart';
|
||||
import 'package:flutter_inappwebview_ios/flutter_inappwebview_ios.dart';
|
||||
import 'package:flutter_local_notifications/flutter_local_notifications.dart';
|
||||
import 'package:geocoding_ios/geocoding_ios.dart';
|
||||
import 'package:geolocator_apple/geolocator_apple.dart';
|
||||
import 'package:google_maps_flutter_ios/google_maps_flutter_ios.dart';
|
||||
import 'package:image_picker_ios/image_picker_ios.dart';
|
||||
import 'package:path_provider_foundation/path_provider_foundation.dart';
|
||||
import 'package:shared_preferences_foundation/shared_preferences_foundation.dart';
|
||||
import 'package:sqflite/sqflite.dart';
|
||||
import 'package:url_launcher_ios/url_launcher_ios.dart';
|
||||
import 'package:connectivity_plus/connectivity_plus.dart';
|
||||
import 'package:file_selector_linux/file_selector_linux.dart';
|
||||
import 'package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart';
|
||||
import 'package:image_picker_linux/image_picker_linux.dart';
|
||||
import 'package:package_info_plus/package_info_plus.dart';
|
||||
import 'package:path_provider_linux/path_provider_linux.dart';
|
||||
import 'package:shared_preferences_linux/shared_preferences_linux.dart';
|
||||
import 'package:url_launcher_linux/url_launcher_linux.dart';
|
||||
import 'package:file_selector_macos/file_selector_macos.dart';
|
||||
import 'package:flutter_inappwebview_macos/flutter_inappwebview_macos.dart';
|
||||
import 'package:flutter_local_notifications/flutter_local_notifications.dart';
|
||||
import 'package:geolocator_apple/geolocator_apple.dart';
|
||||
import 'package:image_picker_macos/image_picker_macos.dart';
|
||||
import 'package:path_provider_foundation/path_provider_foundation.dart';
|
||||
import 'package:shared_preferences_foundation/shared_preferences_foundation.dart';
|
||||
import 'package:sqflite/sqflite.dart';
|
||||
import 'package:url_launcher_macos/url_launcher_macos.dart';
|
||||
import 'package:file_selector_windows/file_selector_windows.dart';
|
||||
import 'package:image_picker_windows/image_picker_windows.dart';
|
||||
import 'package:package_info_plus/package_info_plus.dart';
|
||||
import 'package:path_provider_windows/path_provider_windows.dart';
|
||||
import 'package:shared_preferences_windows/shared_preferences_windows.dart';
|
||||
import 'package:url_launcher_windows/url_launcher_windows.dart';
|
||||
|
||||
@pragma('vm:entry-point')
|
||||
class _PluginRegistrant {
|
||||
|
||||
@pragma('vm:entry-point')
|
||||
static void register() {
|
||||
if (Platform.isAndroid) {
|
||||
try {
|
||||
AndroidInAppWebViewPlatform.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`flutter_inappwebview_android` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
AndroidFlutterLocalNotificationsPlugin.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`flutter_local_notifications` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
GeocodingAndroid.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`geocoding_android` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
GeolocatorAndroid.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`geolocator_android` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
GoogleMapsFlutterAndroid.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`google_maps_flutter_android` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
ImagePickerAndroid.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`image_picker_android` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
PathProviderAndroid.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`path_provider_android` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
SharedPreferencesAndroid.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`shared_preferences_android` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
SqflitePlugin.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`sqflite` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
UrlLauncherAndroid.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`url_launcher_android` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
} else if (Platform.isIOS) {
|
||||
try {
|
||||
IOSInAppWebViewPlatform.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`flutter_inappwebview_ios` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
IOSFlutterLocalNotificationsPlugin.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`flutter_local_notifications` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
GeocodingIOS.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`geocoding_ios` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
GeolocatorApple.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`geolocator_apple` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
GoogleMapsFlutterIOS.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`google_maps_flutter_ios` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
ImagePickerIOS.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`image_picker_ios` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
PathProviderFoundation.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`path_provider_foundation` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
SharedPreferencesFoundation.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`shared_preferences_foundation` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
SqflitePlugin.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`sqflite` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
UrlLauncherIOS.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`url_launcher_ios` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
} else if (Platform.isLinux) {
|
||||
try {
|
||||
ConnectivityPlusLinuxPlugin.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`connectivity_plus` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
FileSelectorLinux.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`file_selector_linux` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
LinuxFlutterLocalNotificationsPlugin.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`flutter_local_notifications_linux` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
ImagePickerLinux.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`image_picker_linux` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
PackageInfoPlusLinuxPlugin.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`package_info_plus` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
PathProviderLinux.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`path_provider_linux` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
SharedPreferencesLinux.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`shared_preferences_linux` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
UrlLauncherLinux.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`url_launcher_linux` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
} else if (Platform.isMacOS) {
|
||||
try {
|
||||
FileSelectorMacOS.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`file_selector_macos` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
MacOSInAppWebViewPlatform.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`flutter_inappwebview_macos` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
MacOSFlutterLocalNotificationsPlugin.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`flutter_local_notifications` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
GeolocatorApple.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`geolocator_apple` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
ImagePickerMacOS.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`image_picker_macos` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
PathProviderFoundation.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`path_provider_foundation` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
SharedPreferencesFoundation.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`shared_preferences_foundation` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
SqflitePlugin.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`sqflite` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
UrlLauncherMacOS.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`url_launcher_macos` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
} else if (Platform.isWindows) {
|
||||
try {
|
||||
FileSelectorWindows.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`file_selector_windows` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
ImagePickerWindows.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`image_picker_windows` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
PackageInfoPlusWindowsPlugin.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`package_info_plus` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
PathProviderWindows.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`path_provider_windows` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
SharedPreferencesWindows.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`shared_preferences_windows` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
try {
|
||||
UrlLauncherWindows.registerWith();
|
||||
} catch (err) {
|
||||
print(
|
||||
'`url_launcher_windows` threw an error: $err. '
|
||||
'The app may not function as expected until you remove this plugin from pubspec.yaml'
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -627,13 +627,13 @@
|
||||
},
|
||||
{
|
||||
"name": "leak_tracker",
|
||||
"rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/leak_tracker-10.0.5",
|
||||
"rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/leak_tracker-10.0.4",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.2"
|
||||
},
|
||||
{
|
||||
"name": "leak_tracker_flutter_testing",
|
||||
"rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.5",
|
||||
"rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.3",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.2"
|
||||
},
|
||||
@@ -669,7 +669,7 @@
|
||||
},
|
||||
{
|
||||
"name": "material_color_utilities",
|
||||
"rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/material_color_utilities-0.11.1",
|
||||
"rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/material_color_utilities-0.8.0",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "2.17"
|
||||
},
|
||||
@@ -681,7 +681,7 @@
|
||||
},
|
||||
{
|
||||
"name": "meta",
|
||||
"rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/meta-1.15.0",
|
||||
"rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/meta-1.12.0",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "2.12"
|
||||
},
|
||||
@@ -783,15 +783,15 @@
|
||||
},
|
||||
{
|
||||
"name": "permission_handler",
|
||||
"rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler-11.4.0",
|
||||
"rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler-11.3.1",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.5"
|
||||
"languageVersion": "2.15"
|
||||
},
|
||||
{
|
||||
"name": "permission_handler_android",
|
||||
"rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler_android-12.1.0",
|
||||
"rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler_android-12.0.13",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.5"
|
||||
"languageVersion": "2.15"
|
||||
},
|
||||
{
|
||||
"name": "permission_handler_apple",
|
||||
@@ -807,9 +807,9 @@
|
||||
},
|
||||
{
|
||||
"name": "permission_handler_platform_interface",
|
||||
"rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler_platform_interface-4.3.0",
|
||||
"rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler_platform_interface-4.2.3",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.5"
|
||||
"languageVersion": "2.14"
|
||||
},
|
||||
{
|
||||
"name": "permission_handler_windows",
|
||||
@@ -987,9 +987,9 @@
|
||||
},
|
||||
{
|
||||
"name": "test_api",
|
||||
"rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/test_api-0.7.2",
|
||||
"rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/test_api-0.7.0",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.2"
|
||||
"languageVersion": "3.0"
|
||||
},
|
||||
{
|
||||
"name": "timezone",
|
||||
@@ -1083,7 +1083,7 @@
|
||||
},
|
||||
{
|
||||
"name": "vm_service",
|
||||
"rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/vm_service-14.2.5",
|
||||
"rootUri": "file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/vm_service-14.2.1",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.3"
|
||||
},
|
||||
@@ -1118,10 +1118,10 @@
|
||||
"languageVersion": "3.4"
|
||||
}
|
||||
],
|
||||
"generated": "2025-04-24T13:17:45.508137Z",
|
||||
"generated": "2025-04-25T13:31:45.113044Z",
|
||||
"generator": "pub",
|
||||
"generatorVersion": "3.5.1",
|
||||
"generatorVersion": "3.4.0",
|
||||
"flutterRoot": "file:///Users/rajeevsingh/Documents/allSoftwares/flutter",
|
||||
"flutterVersion": "3.24.1",
|
||||
"flutterVersion": "3.22.0",
|
||||
"pubCache": "file:///Users/rajeevsingh/.pub-cache"
|
||||
}
|
||||
|
||||
@@ -404,12 +404,12 @@ file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/json_annotation-4.9.0/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/json_annotation-4.9.0/lib/
|
||||
leak_tracker
|
||||
3.2
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/leak_tracker-10.0.5/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/leak_tracker-10.0.5/lib/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/leak_tracker-10.0.4/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/leak_tracker-10.0.4/lib/
|
||||
leak_tracker_flutter_testing
|
||||
3.2
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.5/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.5/lib/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.3/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.3/lib/
|
||||
leak_tracker_testing
|
||||
3.2
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/leak_tracker_testing-3.0.1/
|
||||
@@ -432,16 +432,16 @@ file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/matcher-0.12.16+1/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/matcher-0.12.16+1/lib/
|
||||
material_color_utilities
|
||||
2.17
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/material_color_utilities-0.11.1/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/material_color_utilities-0.11.1/lib/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/material_color_utilities-0.8.0/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/material_color_utilities-0.8.0/lib/
|
||||
material_design_icons_flutter
|
||||
2.12
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/material_design_icons_flutter-7.0.7296/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/material_design_icons_flutter-7.0.7296/lib/
|
||||
meta
|
||||
2.12
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/meta-1.15.0/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/meta-1.15.0/lib/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/meta-1.12.0/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/meta-1.12.0/lib/
|
||||
mime
|
||||
3.2
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/mime-2.0.0/
|
||||
@@ -507,13 +507,13 @@ path_provider_windows
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/lib/
|
||||
permission_handler
|
||||
3.5
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler-11.4.0/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler-11.4.0/lib/
|
||||
2.15
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler-11.3.1/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler-11.3.1/lib/
|
||||
permission_handler_android
|
||||
3.5
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler_android-12.1.0/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler_android-12.1.0/lib/
|
||||
2.15
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler_android-12.0.13/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler_android-12.0.13/lib/
|
||||
permission_handler_apple
|
||||
2.18
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/
|
||||
@@ -523,9 +523,9 @@ permission_handler_html
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler_html-0.1.3+5/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler_html-0.1.3+5/lib/
|
||||
permission_handler_platform_interface
|
||||
3.5
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler_platform_interface-4.3.0/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler_platform_interface-4.3.0/lib/
|
||||
2.14
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler_platform_interface-4.2.3/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler_platform_interface-4.2.3/lib/
|
||||
permission_handler_windows
|
||||
2.12
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler_windows-0.2.1/
|
||||
@@ -639,9 +639,9 @@ term_glyph
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/term_glyph-1.2.1/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/term_glyph-1.2.1/lib/
|
||||
test_api
|
||||
3.2
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/test_api-0.7.2/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/test_api-0.7.2/lib/
|
||||
3.0
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/test_api-0.7.0/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/test_api-0.7.0/lib/
|
||||
timezone
|
||||
2.19
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/timezone-0.9.4/
|
||||
@@ -704,8 +704,8 @@ file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/vector_math-2.1.4/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/vector_math-2.1.4/lib/
|
||||
vm_service
|
||||
3.3
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/vm_service-14.2.5/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/vm_service-14.2.5/lib/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/vm_service-14.2.1/
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/vm_service-14.2.1/lib/
|
||||
web
|
||||
3.4
|
||||
file:///Users/rajeevsingh/.pub-cache/hosted/pub.dev/web-1.1.0/
|
||||
|
||||
@@ -1 +1 @@
|
||||
3.24.1
|
||||
3.22.0
|
||||
@@ -42,8 +42,8 @@ path_provider_android=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider
|
||||
path_provider_foundation=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.1/
|
||||
path_provider_linux=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/
|
||||
path_provider_windows=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/
|
||||
permission_handler=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler-11.4.0/
|
||||
permission_handler_android=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler_android-12.1.0/
|
||||
permission_handler=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler-11.3.1/
|
||||
permission_handler_android=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler_android-12.0.13/
|
||||
permission_handler_apple=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/
|
||||
permission_handler_html=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler_html-0.1.3+5/
|
||||
permission_handler_windows=/Users/rajeevsingh/.pub-cache/hosted/pub.dev/permission_handler_windows-0.2.1/
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
{"inputs":[],"outputs":[]}
|
||||
@@ -1 +0,0 @@
|
||||
{"inputs":["/Users/rajeevsingh/Documents/FlutterProject/Testing/groceryApp/.dart_tool/package_config_subset"],"outputs":["/Users/rajeevsingh/Documents/FlutterProject/Testing/groceryApp/.dart_tool/flutter_build/dart_plugin_registrant.dart"]}
|
||||
@@ -1 +0,0 @@
|
||||
{"inputs":[],"outputs":[]}
|
||||
@@ -15,8 +15,7 @@ import 'package:material_design_icons_flutter/material_design_icons_flutter.dart
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:shimmer/shimmer.dart';
|
||||
|
||||
class BestDealScreen extends StatefulWidget
|
||||
{
|
||||
class BestDealScreen extends StatefulWidget {
|
||||
const BestDealScreen({super.key});
|
||||
@override
|
||||
State<BestDealScreen> createState() => _BestDealScreenState();
|
||||
@@ -26,8 +25,7 @@ class _BestDealScreenState extends State<BestDealScreen> {
|
||||
bool _isSearching = false;
|
||||
TextEditingController _searchController = TextEditingController();
|
||||
@override
|
||||
void initState()
|
||||
{
|
||||
void initState() {
|
||||
Provider.of<ProductProvider>(context, listen: false)
|
||||
.getBestDealProduct(context, '');
|
||||
super.initState();
|
||||
@@ -56,6 +54,8 @@ class _BestDealScreenState extends State<BestDealScreen> {
|
||||
width: 20,
|
||||
child: InkWell(
|
||||
onTap: () {
|
||||
Provider.of<ProductProvider>(context, listen: false)
|
||||
.getBestDealProduct(context, '');
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
child: SvgPicture.asset(
|
||||
@@ -69,15 +69,13 @@ class _BestDealScreenState extends State<BestDealScreen> {
|
||||
title: _isSearching
|
||||
? TextField(
|
||||
controller: _searchController,
|
||||
autofocus: true, // Focus on search field when opened
|
||||
decoration: InputDecoration(
|
||||
autofocus: true,
|
||||
decoration: const InputDecoration(
|
||||
hintText: "Search...",
|
||||
border: InputBorder.none,
|
||||
),
|
||||
style: TextStyle(fontSize: 18),
|
||||
onChanged: (query) {
|
||||
// You can call a search function here
|
||||
},
|
||||
onChanged: (query) {},
|
||||
)
|
||||
: const Text(
|
||||
"Best Deal",
|
||||
@@ -87,7 +85,7 @@ class _BestDealScreenState extends State<BestDealScreen> {
|
||||
),
|
||||
),
|
||||
actions: [
|
||||
if (_isSearching) // Show search icon only when searching
|
||||
if (_isSearching)
|
||||
InkWell(
|
||||
onTap: () {
|
||||
Provider.of<ProductProvider>(context, listen: false)
|
||||
@@ -106,6 +104,8 @@ class _BestDealScreenState extends State<BestDealScreen> {
|
||||
setState(() {
|
||||
_isSearching = !_isSearching;
|
||||
if (!_isSearching) {
|
||||
Provider.of<ProductProvider>(context, listen: false)
|
||||
.getBestDealProduct(context, '');
|
||||
_searchController.clear(); // Clear search when closed
|
||||
}
|
||||
});
|
||||
@@ -290,7 +290,7 @@ class _BestDealScreenState extends State<BestDealScreen> {
|
||||
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
|
||||
crossAxisCount: 2,
|
||||
childAspectRatio: MediaQuery.of(context).size.width /
|
||||
(MediaQuery.of(context).size.height / 1.5),
|
||||
(MediaQuery.of(context).size.height / 1.3),
|
||||
crossAxisSpacing: 10,
|
||||
mainAxisSpacing: 10,
|
||||
),
|
||||
@@ -319,24 +319,27 @@ class _BestDealScreenState extends State<BestDealScreen> {
|
||||
),
|
||||
],
|
||||
),
|
||||
padding: const EdgeInsets.all(8),
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Expanded(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Container(
|
||||
height: MediaQuery.of(context).size.height * 0.15,
|
||||
// width: MediaQuery.of(context).size.width *
|
||||
// 0.4, // Dynamic width
|
||||
height: MediaQuery.of(context).size.height * 0.19,
|
||||
decoration: BoxDecoration(
|
||||
color: APPCOLOR.bgGrey,
|
||||
borderRadius: BorderRadius.circular(15),
|
||||
),
|
||||
child: Stack(
|
||||
//alignment: Alignment.center,
|
||||
children: [
|
||||
Center(
|
||||
child: AppNetworkImage(
|
||||
imageUrl:
|
||||
bestdealproduct.productImages?.first.url ??
|
||||
imageUrl: bestdealproduct
|
||||
.productImages?.first.url ??
|
||||
"",
|
||||
backGroundColor: Colors.transparent,
|
||||
radius: 10,
|
||||
@@ -346,32 +349,34 @@ class _BestDealScreenState extends State<BestDealScreen> {
|
||||
right: 1,
|
||||
bottom: 0,
|
||||
child: Container(
|
||||
width: 50,
|
||||
height: 50,
|
||||
width: 40,
|
||||
height: 40,
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.red,
|
||||
borderRadius: BorderRadius.circular(100),
|
||||
borderRadius:
|
||||
BorderRadius.circular(100),
|
||||
),
|
||||
child: Center(
|
||||
child: Text(
|
||||
"${calculateDiscountPercentage(double.parse(bestdealproduct.basePrice), double.parse(bestdealproduct.discountPrice))}% \nOFF",
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(
|
||||
color: Colors.white, fontSize: 12)),
|
||||
color: Colors.white,
|
||||
fontSize: 12),
|
||||
),
|
||||
),
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
SizedBox(
|
||||
height: MediaQuery.of(context).size.height * 0.005),
|
||||
Text(
|
||||
bestdealproduct.name ?? "",
|
||||
textAlign: TextAlign.left,
|
||||
maxLines: 2,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: context.customMedium(APPCOLOR.balck1A1A1A, 16),
|
||||
style: context.customMedium(
|
||||
APPCOLOR.balck1A1A1A, 16),
|
||||
),
|
||||
Text(
|
||||
bestdealproduct.unit ?? "",
|
||||
@@ -383,14 +388,20 @@ class _BestDealScreenState extends State<BestDealScreen> {
|
||||
12,
|
||||
),
|
||||
),
|
||||
if (bestdealproduct!.quantity > 0)
|
||||
Text("In Stock ",
|
||||
style:
|
||||
TextStyle(color: Colors.green, fontSize: 14)),
|
||||
Spacer(),
|
||||
if (bestdealproduct.quantity > 0)
|
||||
Text(
|
||||
"In Stock",
|
||||
style: TextStyle(
|
||||
color: Colors.green, fontSize: 14),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
SizedBox(height: 8),
|
||||
Row(
|
||||
children: [
|
||||
Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
"₹${bestdealproduct.discountPrice ?? ""} ",
|
||||
@@ -416,16 +427,15 @@ class _BestDealScreenState extends State<BestDealScreen> {
|
||||
],
|
||||
),
|
||||
Spacer(),
|
||||
Align(
|
||||
alignment: Alignment.centerRight,
|
||||
child: GestureDetector(
|
||||
GestureDetector(
|
||||
onTap: () async {
|
||||
if (await SharedPrefUtils.getToken() != null) {
|
||||
await provider.addToWithCart(
|
||||
context,
|
||||
bestdealproduct.id!,
|
||||
bestdealproduct,
|
||||
bestdealproduct.productImages?.first.url);
|
||||
bestdealproduct.productImages?.first.url,
|
||||
);
|
||||
} else {
|
||||
context.push(MyRoutes.SIGNUP);
|
||||
}
|
||||
@@ -439,24 +449,20 @@ class _BestDealScreenState extends State<BestDealScreen> {
|
||||
borderRadius: BorderRadius.circular(5),
|
||||
),
|
||||
child: Center(
|
||||
child: provider
|
||||
.isLoading[bestdealproduct.id] ??
|
||||
child: provider.isLoading[bestdealproduct.id] ??
|
||||
false
|
||||
? Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: Container(
|
||||
child: SizedBox(
|
||||
height: 10,
|
||||
width: 10,
|
||||
child: CircularProgressIndicator(
|
||||
color: Colors.white,
|
||||
strokeWidth: 2),
|
||||
strokeWidth: 2,
|
||||
),
|
||||
),
|
||||
)
|
||||
: Text(
|
||||
// provider.cartItems
|
||||
// .contains(bestdealproduct.id)
|
||||
// ? 'Added'
|
||||
// :
|
||||
'Add',
|
||||
style: context.customRegular(
|
||||
Colors.white, 12),
|
||||
@@ -464,7 +470,6 @@ class _BestDealScreenState extends State<BestDealScreen> {
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
@@ -474,75 +479,6 @@ class _BestDealScreenState extends State<BestDealScreen> {
|
||||
},
|
||||
),
|
||||
);
|
||||
|
||||
// Padding(
|
||||
// padding: const EdgeInsets.all(15),
|
||||
// child: GridView.builder(
|
||||
// itemCount: provider.bestdeal.length,
|
||||
// gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
|
||||
// crossAxisCount: 2,
|
||||
// childAspectRatio: MediaQuery.of(context).size.width /
|
||||
// (MediaQuery.of(context).size.height / 1.5),
|
||||
// crossAxisSpacing: 10,
|
||||
// mainAxisSpacing: 10,
|
||||
// ),
|
||||
// itemBuilder: (context, index) {
|
||||
// var bestdealproduct = provider.bestdeal[index];
|
||||
// return InkWell(
|
||||
// onTap: () {
|
||||
// context.push(MyRoutes.PRODUCTDETAILS,
|
||||
// extra: bestdealproduct.id);
|
||||
// },
|
||||
// child: Container(
|
||||
// decoration: BoxDecoration(
|
||||
// color: Colors.white,
|
||||
// borderRadius: BorderRadius.circular(15),
|
||||
// ),
|
||||
// child: Padding(
|
||||
// padding: const EdgeInsets.all(5),
|
||||
// child: Column(
|
||||
// crossAxisAlignment: CrossAxisAlignment.start,
|
||||
// children: [
|
||||
// Container(
|
||||
// height: MediaQuery.of(context).size.height * 0.15,
|
||||
// width: MediaQuery.of(context).size.width * 0.4,
|
||||
// decoration: BoxDecoration(
|
||||
// color: APPCOLOR.bgGrey,
|
||||
// borderRadius: BorderRadius.circular(15),
|
||||
// ),
|
||||
// child: AppNetworkImage(
|
||||
// height: MediaQuery.of(context).size.height * 0.13,
|
||||
// width: MediaQuery.of(context).size.width * 0.35,
|
||||
// imageUrl:
|
||||
// bestdealproduct.productImages?.first.url ?? "",
|
||||
// backGroundColor: Colors.transparent,
|
||||
// ),
|
||||
// ),
|
||||
// SizedBox(height: 8),
|
||||
// Text(bestdealproduct.name ?? ""),
|
||||
// Text(bestdealproduct.unit ?? ""),
|
||||
// Text(bestdealproduct.quantity > 0
|
||||
// ? "In Stock"
|
||||
// : "Out of Stock"),
|
||||
// Row(
|
||||
// children: [
|
||||
// Text("₹${bestdealproduct.discountPrice ?? ""}"),
|
||||
// Text(
|
||||
// "₹${bestdealproduct.basePrice ?? ""}",
|
||||
// style: TextStyle(
|
||||
// decoration: TextDecoration.lineThrough,
|
||||
// ),
|
||||
// ),
|
||||
// ],
|
||||
// ),
|
||||
// ],
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
// );
|
||||
// },
|
||||
// ),
|
||||
// );
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -162,7 +162,7 @@ class _FruitVeggieDetailState extends State<FruitVeggieDetail> {
|
||||
padding: const EdgeInsets.only(left: 40),
|
||||
child: DataNotFound(
|
||||
imagePath: 'assets/images/cart.jpg',
|
||||
message: "Product not abailable ",
|
||||
message: "",
|
||||
width: 220.w,
|
||||
height: 250.h,
|
||||
),
|
||||
@@ -175,7 +175,7 @@ class _FruitVeggieDetailState extends State<FruitVeggieDetail> {
|
||||
child: LayoutBuilder(
|
||||
builder: (context, constraints) {
|
||||
final itemWidth = (constraints.maxWidth - 20) / 2;
|
||||
final itemHeight = itemWidth * 1.5;
|
||||
final itemHeight = itemWidth * 1.7;
|
||||
|
||||
return GridView.builder(
|
||||
controller: _scrollController,
|
||||
@@ -221,7 +221,7 @@ class _FruitVeggieDetailState extends State<FruitVeggieDetail> {
|
||||
children: [
|
||||
Container(
|
||||
height: itemWidth *
|
||||
0.7, // Adjust height for image container
|
||||
0.9, // Adjust height for image container
|
||||
// width: itemWidth,
|
||||
decoration: BoxDecoration(
|
||||
color: APPCOLOR.bgGrey,
|
||||
@@ -236,15 +236,17 @@ class _FruitVeggieDetailState extends State<FruitVeggieDetail> {
|
||||
"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: 50,
|
||||
width: 50,
|
||||
height: 35,
|
||||
width: 35,
|
||||
padding: EdgeInsets.symmetric(
|
||||
horizontal: 10, vertical: 10),
|
||||
horizontal: 1, vertical: 1),
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.red,
|
||||
borderRadius:
|
||||
@@ -256,71 +258,12 @@ class _FruitVeggieDetailState extends State<FruitVeggieDetail> {
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 12)),
|
||||
fontWeight:FontWeight.bold,
|
||||
fontSize: 10)),
|
||||
),
|
||||
),
|
||||
)
|
||||
// Positioned(
|
||||
// right: 5,
|
||||
// top: 5,
|
||||
// child: InkWell(
|
||||
// onTap: () async {
|
||||
// if (await SharedPrefUtils.getToken() !=
|
||||
// null) {
|
||||
// if (product.isInWishlist) {
|
||||
// Fluttertoast.showToast(
|
||||
// msg: "Item already added!",
|
||||
// toastLength: Toast.LENGTH_SHORT,
|
||||
// gravity: ToastGravity.BOTTOM,
|
||||
// backgroundColor: Colors.green,
|
||||
// textColor: Colors.white,
|
||||
// fontSize: 14.0,
|
||||
// );
|
||||
// } else {
|
||||
// //product.isInWishlist=ture;
|
||||
// provider
|
||||
// .toggleWishlist1(product.id!);
|
||||
// }
|
||||
// } else {
|
||||
// context.push(MyRoutes.LOGIN);
|
||||
// }
|
||||
// },
|
||||
// child: Icon(
|
||||
// product.isInWishlist
|
||||
// ? Icons.favorite
|
||||
// : Icons.favorite_border,
|
||||
// color: product.isInWishlist
|
||||
// ? Colors.red
|
||||
// : Colors.grey,
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
|
||||
// Positioned(
|
||||
// right: 5,
|
||||
// top: 5,
|
||||
// child: InkWell(
|
||||
// onTap: () async {
|
||||
// if (await SharedPrefUtils
|
||||
// .getToken() !=
|
||||
// null) {
|
||||
// provider.toggleWishlist(
|
||||
// context, product.id!);
|
||||
// } else {
|
||||
// context.push(MyRoutes.SIGNUP);
|
||||
// }
|
||||
// },
|
||||
// child: Icon(
|
||||
// provider.wishlist.contains(product.id)
|
||||
// ? Icons.favorite
|
||||
// : Icons.favorite_border,
|
||||
// color: provider.wishlist
|
||||
// .contains(product.id)
|
||||
// ? Colors.red
|
||||
// : Colors.grey,
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
@@ -368,7 +368,7 @@ class _HomeScreenState extends State<HomeScreen> {
|
||||
height: 300.h,
|
||||
))
|
||||
: SizedBox(
|
||||
height: MediaQuery.of(context).size.height * 0.28,
|
||||
height: MediaQuery.of(context).size.height * 0.3,
|
||||
child: ListView.builder(
|
||||
itemCount: provider.bestdeal.length,
|
||||
scrollDirection: Axis.horizontal,
|
||||
@@ -402,7 +402,7 @@ class _HomeScreenState extends State<HomeScreen> {
|
||||
Center(
|
||||
child: Container(
|
||||
height: MediaQuery.of(context).size.height *
|
||||
0.12,
|
||||
0.17,
|
||||
decoration: BoxDecoration(
|
||||
color: APPCOLOR.bgGrey,
|
||||
borderRadius: BorderRadius.circular(15),
|
||||
@@ -418,10 +418,10 @@ class _HomeScreenState extends State<HomeScreen> {
|
||||
),
|
||||
Positioned(
|
||||
right: 0,
|
||||
bottom: 5,
|
||||
bottom: 0,
|
||||
child: Container(
|
||||
width: 50,
|
||||
height: 50,
|
||||
width: 40,
|
||||
height: 40,
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.red,
|
||||
borderRadius:
|
||||
@@ -618,7 +618,7 @@ class _HomeScreenState extends State<HomeScreen> {
|
||||
top: 15,
|
||||
left: 15,
|
||||
child: SizedBox(
|
||||
width: 170,
|
||||
width: 150,
|
||||
child: Text(
|
||||
banner.altText ?? "Special Event",
|
||||
style: context.customExtraBold(
|
||||
|
||||
@@ -65,7 +65,8 @@ class _ProfileScreenState extends State<ProfileScreen> {
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
Widget build(BuildContext context)
|
||||
{
|
||||
return Scaffold(
|
||||
body: NestedScrollView(
|
||||
headerSliverBuilder: (BuildContext context, bool innerBoxIsScrolled) {
|
||||
@@ -398,4 +399,6 @@ class _ProfileScreenState extends State<ProfileScreen> {
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
40
pubspec.lock
40
pubspec.lock
@@ -828,18 +828,18 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: leak_tracker
|
||||
sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
|
||||
sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "10.0.5"
|
||||
version: "10.0.4"
|
||||
leak_tracker_flutter_testing:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: leak_tracker_flutter_testing
|
||||
sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
|
||||
sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "3.0.5"
|
||||
version: "3.0.3"
|
||||
leak_tracker_testing:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -884,10 +884,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: material_color_utilities
|
||||
sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
|
||||
sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.11.1"
|
||||
version: "0.8.0"
|
||||
material_design_icons_flutter:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
@@ -900,10 +900,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: meta
|
||||
sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7
|
||||
sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.15.0"
|
||||
version: "1.12.0"
|
||||
mime:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -1036,18 +1036,18 @@ packages:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: permission_handler
|
||||
sha256: "59adad729136f01ea9e35a48f5d1395e25cba6cea552249ddbe9cf950f5d7849"
|
||||
sha256: "18bf33f7fefbd812f37e72091a15575e72d5318854877e0e4035a24ac1113ecb"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "11.4.0"
|
||||
version: "11.3.1"
|
||||
permission_handler_android:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: permission_handler_android
|
||||
sha256: d3971dcdd76182a0c198c096b5db2f0884b0d4196723d21a866fc4cdea057ebc
|
||||
sha256: "71bbecfee799e65aff7c744761a57e817e73b738fedf62ab7afd5593da21f9f1"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "12.1.0"
|
||||
version: "12.0.13"
|
||||
permission_handler_apple:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -1068,10 +1068,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: permission_handler_platform_interface
|
||||
sha256: eb99b295153abce5d683cac8c02e22faab63e50679b937fa1bf67d58bb282878
|
||||
sha256: e9c8eadee926c4532d0305dff94b85bf961f16759c3af791486613152af4b4f9
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "4.3.0"
|
||||
version: "4.2.3"
|
||||
permission_handler_windows:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -1305,10 +1305,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: test_api
|
||||
sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"
|
||||
sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.7.2"
|
||||
version: "0.7.0"
|
||||
timezone:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -1433,10 +1433,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: vm_service
|
||||
sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
|
||||
sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "14.2.5"
|
||||
version: "14.2.1"
|
||||
web:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -1470,5 +1470,5 @@ packages:
|
||||
source: hosted
|
||||
version: "6.5.0"
|
||||
sdks:
|
||||
dart: ">=3.5.0 <4.0.0"
|
||||
flutter: ">=3.24.0"
|
||||
dart: ">=3.4.0 <4.0.0"
|
||||
flutter: ">=3.22.0"
|
||||
|
||||
@@ -5,7 +5,7 @@ publish_to: 'none'
|
||||
version: 1.0.0+1
|
||||
|
||||
environment:
|
||||
sdk: '>=3.4.4 <4.0.0'
|
||||
sdk: '>=3.4.0 <4.0.0'
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
|
||||
Reference in New Issue
Block a user