6amMart - Multivendor Food, Grocery, eCommerce, Parcel, Pharmacy delivery app with Admin & Website

6amMart - Multivendor Food, Grocery, eCommerce, Parcel, Pharmacy delivery app with Admin & Website v3.0 Hotfix

No permission to download

profuturetech

Member
Apr 18, 2020
46
12
8
There is issue with pop up notification of admin and vendor panel, both are not getting notification after update 2.0. Anyone have solutions
 

div.tilt2

Member
May 4, 2021
65
48
18
There is issue with pop up notification of admin and vendor panel, both are not getting notification after update 2.0. Anyone have solutions

It works perfectly.
Detail: 6ammart,stackfood etc... sdk has not been updated for android 13.

Android 13 blocks notifications. Check your phone app settings and see if notifications permission is blocked.
 
  • Like
Reactions: mrganam

profuturetech

Member
Apr 18, 2020
46
12
8
It works perfectly.
Detail: 6ammart,stackfood etc... sdk has not been updated for android 13.

Android 13 blocks notifications. Check your phone app settings and see if notifications permission is blocked.
Thanks, But you queries is related to app and phones, My issues is admin panel notifications, if new order is placed from customer app.
 
  • Like
Reactions: mrganam

div.tilt2

Member
May 4, 2021
65
48
18
Hello, I would like to translate the date texts in the images I have attached to my own language. Although I edited the "timezone","locale" information in the config/app.php file in Laravel according to my country, I still see the English date texts. Pls help me

test by changing the language file in
\vendor\nesbot\carbon\src\Carbon\Lang\en.php
 

zed them

Member
Jul 6, 2019
67
50
18
Hello guys, i have a challenge when i want to install the admin panel script, i am stack at stage 4, i keep getting this error. please help?
 

Attachments

  • Screenshot 2023-02-21 at 10.41.53.png
    Screenshot 2023-02-21 at 10.41.53.png
    127.1 KB · Views: 20

zed them

Member
Jul 6, 2019
67
50
18
For most of the source files that I've tried from CodeCanyon, the activation can be solved by modifying the routes if it can't be bypassed by modifying the license key or activation code field in the installation.

I wasn't able to check the source file from this thread at first because I don't have the requirement to view the password of the file. So I want to thank @ameypangaonkar for sharing the file that doesn't require a password to access it, because of it I was able to explore the system.

Here's what I found, I hope it'll also work for all of you.

Go to route > install.php and remove all the "->middleware('installation-check')" as it was the reason why step 2 routes to the verification of the system before going to step 3. Doing this will force the system to proceed to step 3 and other steps without verification.

1674897695942.png

You don't have to modify ActivationCheckMiddleware.php from App -> Http -> Middleware as what @Doxec stated. But still, I also want to thank you for trying to solve the error for us and for sharing this system.

P.S. If anyone has encountered an error with the installation process, reply down below and if I have spare time I might be able to check the error. As for my part, the installation process went smoothly and I was able to access and login to the admin panel.

1674898113930.png
Hello, i am one of the victims experiencing an error during installation process. please help?
 

GambitSteel

Active member
Trusted Uploader
Oct 22, 2020
149
152
43
GambitSteel updated 6amMart - Multivendor Food, Grocery, eCommerce, Parcel, Pharmacy delivery app with Admin & Website with a new update entry:

2.3.0

Password:​

Version 2.3.0 23 August 2023​

- Fixed translation related issues in full system and make it easier for translation
- Improvements for import and export with proper organised design for exported data
- Add fund to customer wallet using payment gateways with bonus for add fund to wallet
- Partial payment by wallet balance
- Landing page on/off feature with custom landing page...

Read the rest of this update entry...
 
  • Love
Reactions: MrSam_1

seorahulchauhan

New member
Aug 14, 2018
9
3
3
Hello guys, i have a challenge when i want to install the admin panel script, i am stack at stage 4, i keep getting this error. please help?
There may be two reasons for this error

1. You have created database and user but have not assigned the user to the database with all permission and privilege.
2. You have used special character in your password like # so try to change the database user password to alpha numeric like Babaito@Rockes2024
 

GambitSteel

Active member
Trusted Uploader
Oct 22, 2020
149
152
43
MrSam_1 updated 6amMart - Multivendor Food, Grocery, eCommerce, Parcel, Pharmacy delivery app with Admin & Website with a new update entry:

6amMart - Multivendor Food, Grocery, eCommerce, Parcel, Pharmacy delivery app with Admin & Website

Decryption key:


- Fixed some issues in the web panels and apps
- Added firebase phone authentication using OTP
- Made the Flutter app compatible with Flutter SDK 3.22.3

Read the rest of this update entry...
 

GambitSteel

Active member
Trusted Uploader
Oct 22, 2020
149
152
43
MrSam_1 updated 6amMart - Multivendor Food, Grocery, eCommerce, Parcel, Pharmacy delivery app with Admin & Website with a new update entry:

6amMart - Multivendor Food, Grocery, eCommerce, Parcel, Pharmacy delivery app with Admin & Website

Decryption key:


- Improved admin landing page and added available delivery zone information.
- Managed redirection to specific pages from push notification on click.
- Added option to add predefined message suggestions in chatting
- Added Nutrition and Allergy related information and tag for Food and Grocery module items.
- Added Medicine generic group name for pharmacy module items and added related filters where necessary...

Read the rest of this update entry...
 

Shyamji

New member
Aug 19, 2022
22
1
3
I want to add image in statusbar and sliverappbar like second image. but faild.
I am ataching the homepage code. if someone help me, I will pay for it. (6ammart)

here it is :

import 'package:flutter/cupertino.dart';
import 'package:flutter/rendering.dart';
import 'package:sixam_mart/common/controllers/theme_controller.dart';
import 'package:sixam_mart/features/banner/controllers/banner_controller.dart';
import 'package:sixam_mart/features/brands/controllers/brands_controller.dart';
import 'package:sixam_mart/features/home/controllers/advertisement_controller.dart';
import 'package:sixam_mart/features/home/controllers/home_controller.dart';
import 'package:sixam_mart/features/home/widgets/all_store_filter_widget.dart';
import 'package:sixam_mart/features/home/widgets/cashback_logo_widget.dart';
import 'package:sixam_mart/features/home/widgets/cashback_dialog_widget.dart';
import 'package:sixam_mart/features/home/widgets/refer_bottom_sheet_widget.dart';
import 'package:sixam_mart/features/item/controllers/campaign_controller.dart';
import 'package:sixam_mart/features/category/controllers/category_controller.dart';
import 'package:sixam_mart/features/coupon/controllers/coupon_controller.dart';
import 'package:sixam_mart/features/flash_sale/controllers/flash_sale_controller.dart';
import 'package:sixam_mart/features/language/controllers/language_controller.dart';
import 'package:sixam_mart/features/location/controllers/location_controller.dart';
import 'package:sixam_mart/features/notification/controllers/notification_controller.dart';
import 'package:sixam_mart/features/item/controllers/item_controller.dart';
import 'package:sixam_mart/features/store/controllers/store_controller.dart';
import 'package:sixam_mart/features/splash/controllers/splash_controller.dart';
import 'package:sixam_mart/features/profile/controllers/profile_controller.dart';
import 'package:sixam_mart/features/address/controllers/address_controller.dart';
import 'package:sixam_mart/features/home/screens/modules/food_home_screen.dart';
import 'package:sixam_mart/features/home/screens/modules/grocery_home_screen.dart';
import 'package:sixam_mart/features/home/screens/modules/pharmacy_home_screen.dart';
import 'package:sixam_mart/features/home/screens/modules/shop_home_screen.dart';
import 'package:sixam_mart/features/parcel/controllers/parcel_controller.dart';
import 'package:sixam_mart/helper/address_helper.dart';
import 'package:sixam_mart/helper/auth_helper.dart';
import 'package:sixam_mart/helper/responsive_helper.dart';
import 'package:sixam_mart/helper/route_helper.dart';
import 'package:sixam_mart/util/app_constants.dart';
import 'package:sixam_mart/util/dimensions.dart';
import 'package:sixam_mart/util/images.dart';
import 'package:sixam_mart/util/styles.dart';
import 'package:sixam_mart/common/widgets/item_view.dart';
import 'package:sixam_mart/common/widgets/menu_drawer.dart';
import 'package:sixam_mart/common/widgets/paginated_list_view.dart';
import 'package:sixam_mart/common/widgets/web_menu_bar.dart';
import 'package:sixam_mart/features/home/screens/web_new_home_screen.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:sixam_mart/features/home/widgets/module_view.dart';
import 'package:sixam_mart/features/parcel/screens/parcel_category_screen.dart';

class HomeScreen extends StatefulWidget {
const HomeScreen({super.key});


static Future<void> loadData(bool reload, {bool fromModule = false}) async {
Get.find<LocationController>().syncZoneData();
Get.find<FlashSaleController>().setEmptyFlashSale(fromModule: fromModule);
if(Get.find<SplashController>().module != null && !Get.find<SplashController>().configModel!.moduleConfig!.module!.isParcel!) {
Get.find<BannerController>().getBannerList(reload);
if(Get.find<SplashController>().module!.moduleType.toString() == AppConstants.grocery) {
Get.find<FlashSaleController>().getFlashSale(reload, false);
}
if(Get.find<SplashController>().module!.moduleType.toString() == AppConstants.ecommerce) {
Get.find<ItemController>().getFeaturedCategoriesItemList(false, false);
Get.find<FlashSaleController>().getFlashSale(reload, false);
Get.find<BrandsController>().getBrandList();
}
Get.find<BannerController>().getPromotionalBannerList(reload);
Get.find<ItemController>().getDiscountedItemList(reload, false, 'all');
Get.find<CategoryController>().getCategoryList(reload);
Get.find<StoreController>().getPopularStoreList(reload, 'all', false);
Get.find<CampaignController>().getBasicCampaignList(reload);
Get.find<CampaignController>().getItemCampaignList(reload);
Get.find<ItemController>().getPopularItemList(reload, 'all', false);
Get.find<StoreController>().getLatestStoreList(reload, 'all', false);
Get.find<ItemController>().getReviewedItemList(reload, 'all', false);
Get.find<ItemController>().getRecommendedItemList(reload, 'all', false);
Get.find<StoreController>().getStoreList(1, reload);
Get.find<StoreController>().getRecommendedStoreList();
Get.find<AdvertisementController>().getAdvertisementList();
}
if(AuthHelper.isLoggedIn()) {
Get.find<StoreController>().getVisitAgainStoreList(fromModule: fromModule);
await Get.find<ProfileController>().getUserInfo();
Get.find<NotificationController>().getNotificationList(reload);
Get.find<CouponController>().getCouponList();
}
Get.find<SplashController>().getModules();
if(Get.find<SplashController>().module == null && Get.find<SplashController>().configModel!.module == null) {
Get.find<BannerController>().getFeaturedBanner();
Get.find<StoreController>().getFeaturedStoreList();
if(AuthHelper.isLoggedIn()) {
Get.find<AddressController>().getAddressList();
}
}
if(Get.find<SplashController>().module != null && Get.find<SplashController>().configModel!.moduleConfig!.module!.isParcel!) {
Get.find<ParcelController>().getParcelCategoryList();
}
if(Get.find<SplashController>().module != null && Get.find<SplashController>().module!.moduleType.toString() == AppConstants.pharmacy) {
Get.find<ItemController>().getBasicMedicine(reload, false);
Get.find<StoreController>().getFeaturedStoreList();
await Get.find<ItemController>().getCommonConditions(false);
if(Get.find<ItemController>().commonConditions!.isNotEmpty) {
Get.find<ItemController>().getConditionsWiseItem(Get.find<ItemController>().commonConditions![0].id!, false);
}
}
}

@OverRide
State<HomeScreen> createState() => _HomeScreenState();
}

class _HomeScreenState extends State<HomeScreen> {
final ScrollController _scrollController = ScrollController();
bool searchBgShow = false;
final GlobalKey _headerKey = GlobalKey();

@OverRide
void initState() {
super.initState();
HomeScreen.loadData(false).then((value) {
Get.find<SplashController>().getReferBottomSheetStatus();

if((Get.find<ProfileController>().userInfoModel?.isValidForDiscount??false) && Get.find<SplashController>().showReferBottomSheet) {
_showReferBottomSheet();
}
});

if(!ResponsiveHelper.isWeb()) {
Get.find<LocationController>().getZone(
AddressHelper.getUserAddressFromSharedPref()!.latitude,
AddressHelper.getUserAddressFromSharedPref()!.longitude, false, updateInAddress: true
);
}

_scrollController.addListener(() {
if(_scrollController.position.userScrollDirection == ScrollDirection.reverse){
if(Get.find<HomeController>().showFavButton){
Get.find<HomeController>().changeFavVisibility();
Future.delayed(const Duration(milliseconds: 800), () => Get.find<HomeController>().changeFavVisibility());
}
}else {
if(Get.find<HomeController>().showFavButton){
Get.find<HomeController>().changeFavVisibility();
Future.delayed(const Duration(milliseconds: 800), () => Get.find<HomeController>().changeFavVisibility());
}
}
});
}

@OverRide
void dispose() {
super.dispose();
_scrollController.dispose();
}

void _showReferBottomSheet() {
ResponsiveHelper.isDesktop(context) ? Get.dialog(
Dialog(
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(Dimensions.radiusExtraLarge)),
insetPadding: const EdgeInsets.all(22),
clipBehavior: Clip.antiAliasWithSaveLayer,
child: const ReferBottomSheetWidget(),
),
useSafeArea: false,
).then((value) => Get.find<SplashController>().saveReferBottomSheetStatus(false))
: showModalBottomSheet(
isScrollControlled: true, useRootNavigator: true, context: Get.context!,
backgroundColor: Colors.white,
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.only(topLeft: Radius.circular(Dimensions.radiusExtraLarge), topRight: Radius.circular(Dimensions.radiusExtraLarge)),
),
builder: (context) {
return ConstrainedBox(
constraints: BoxConstraints(maxHeight: MediaQuery.of(context).size.height * 0.8),
child: const ReferBottomSheetWidget(),
);
},
).then((value) => Get.find<SplashController>().saveReferBottomSheetStatus(false));
}

@OverRide
Widget build(BuildContext context) {
return GetBuilder<SplashController>(builder: (splashController) {
if(splashController.moduleList != null && splashController.moduleList!.length == 1) {
splashController.switchModule(0, true);
}
bool showMobileModule = !ResponsiveHelper.isDesktop(context) && splashController.module == null && splashController.configModel!.module == null;
bool isParcel = splashController.module != null && splashController.configModel!.moduleConfig!.module!.isParcel!;
bool isPharmacy = splashController.module != null && splashController.module!.moduleType.toString() == AppConstants.pharmacy;
bool isFood = splashController.module != null && splashController.module!.moduleType.toString() == AppConstants.food;
bool isShop = splashController.module != null && splashController.module!.moduleType.toString() == AppConstants.ecommerce;
bool isGrocery = splashController.module != null && splashController.module!.moduleType.toString() == AppConstants.grocery;

return GetBuilder<HomeController>(builder: (homeController) {
return Scaffold(
appBar: ResponsiveHelper.isDesktop(context) ? const WebMenuBar() : null,
endDrawer: const MenuDrawer(),
extendBodyBehindAppBar: true,
endDrawerEnableOpenDragGesture: false,
backgroundColor: Theme.of(context).colorScheme.surface,
body: isParcel ? const ParcelCategoryScreen() : SafeArea(
child: RefreshIndicator(
onRefresh: () async {
splashController.setRefreshing(true);
if (Get.find<SplashController>().module != null) {
await Get.find<LocationController>().syncZoneData();
await Get.find<BannerController>().getBannerList(true);
if (isGrocery) {
await Get.find<FlashSaleController>().getFlashSale(true, true);
}
await Get.find<BannerController>().getPromotionalBannerList(true);
await Get.find<ItemController>().getDiscountedItemList(true, false, 'all');
await Get.find<CategoryController>().getCategoryList(true);
await Get.find<StoreController>().getPopularStoreList(true, 'all', false);
await Get.find<CampaignController>().getItemCampaignList(true);
Get.find<CampaignController>().getBasicCampaignList(true);
await Get.find<ItemController>().getPopularItemList(true, 'all', false);
await Get.find<StoreController>().getLatestStoreList(true, 'all', false);
await Get.find<ItemController>().getReviewedItemList(true, 'all', false);
await Get.find<StoreController>().getStoreList(1, true);
Get.find<AdvertisementController>().getAdvertisementList();
if (AuthHelper.isLoggedIn()) {
await Get.find<ProfileController>().getUserInfo();
await Get.find<NotificationController>().getNotificationList(true);
Get.find<CouponController>().getCouponList();
}
if (isPharmacy) {
Get.find<ItemController>().getBasicMedicine(true, true);
Get.find<ItemController>().getCommonConditions(true);
}
if (isShop) {
await Get.find<FlashSaleController>().getFlashSale(true, true);
Get.find<ItemController>().getFeaturedCategoriesItemList(true, true);
Get.find<BrandsController>().getBrandList();
}
} else {
await Get.find<BannerController>().getFeaturedBanner();
await Get.find<SplashController>().getModules();
if (AuthHelper.isLoggedIn()) {
await Get.find<AddressController>().getAddressList();
}
await Get.find<StoreController>().getFeaturedStoreList();
}
splashController.setRefreshing(false);
},
child: ResponsiveHelper.isDesktop(context) ? WebNewHomeScreen(
scrollController: _scrollController,
) : CustomScrollView(
controller: _scrollController,
physics: const AlwaysScrollableScrollPhysics(),
slivers: [

ResponsiveHelper.isDesktop(context) ? SliverToBoxAdapter(
child: Container(
color: const Color(0xFF171A29),
padding: const EdgeInsets.all(Dimensions.paddingSizeLarge),
alignment: Alignment.center,
child: Center(child: SizedBox(width: Dimensions.webMaxWidth, child: Padding(
padding: const EdgeInsets.symmetric(horizontal: Dimensions.paddingSizeSmall),
child: Row(children: [
Expanded(
child: ClipRRect(
borderRadius: BorderRadius.circular(Dimensions.radiusDefault),
/////
),
),
const SizedBox(width: Dimensions.paddingSizeLarge),

//Expanded(child: null,),

]),
))),
),
):SliverAppBar(
floating: true,
elevation: 0,
expandedHeight: 300,
automaticallyImplyLeading: false,
surfaceTintColor: Theme.of(context).colorScheme.surface,
backgroundColor: ResponsiveHelper.isDesktop(context) ? Colors.transparent : Theme.of(context).colorScheme.surface,
flexibleSpace: FlexibleSpaceBar(
background: Image(
image: AssetImage('assets/image/feature.png'),
fit: BoxFit.cover,
),
),
title: Center(child: Container(
width: Dimensions.webMaxWidth, height: Get.find<LocalizationController>().isLtr ? 60 : 70, color: Theme.of(context).colorScheme.surface,
child: Row(children: [
(splashController.module != null && splashController.configModel!.module == null && splashController.moduleList != null && splashController.moduleList!.length != 1) ? InkWell(
onTap: () {
splashController.removeModule();
Get.find<StoreController>().resetStoreData();
},
child: Image.asset(Images.moduleIcon, height: 25, width: 25, color: Theme.of(context).textTheme.bodyLarge!.color),
) : const SizedBox(),
SizedBox(width: (splashController.module != null && splashController.configModel!.module == null && splashController.moduleList != null && splashController.moduleList!.length != 1) ? Dimensions.paddingSizeSmall : 0),

Expanded(child: InkWell(
onTap: () => Get.find<LocationController>().navigateToLocationScreen('home'),
child: Padding(
padding: EdgeInsets.symmetric(
vertical: Dimensions.paddingSizeSmall,
horizontal: ResponsiveHelper.isDesktop(context) ? Dimensions.paddingSizeSmall : 0,
),
child: GetBuilder<LocationController>(builder: (locationController) {
return Column(crossAxisAlignment: CrossAxisAlignment.start, children: [
Text(
AuthHelper.isLoggedIn() ? AddressHelper.getUserAddressFromSharedPref()!.addressType!.tr : 'your_location'.tr,
style: robotoBold.copyWith(color: Theme.of(context).textTheme.bodyLarge!.color, fontSize: Dimensions.fontSizeDefault),
maxLines: 1, overflow: TextOverflow.ellipsis,
),

Row(children: [
Flexible(
child: Text(
AddressHelper.getUserAddressFromSharedPref()!.address!,
style: robotoRegular.copyWith(color: Theme.of(context).textTheme.bodyLarge!.color, fontSize: Dimensions.fontSizeDefault),
maxLines: 1, overflow: TextOverflow.ellipsis,
),
),

Icon(Icons.expand_more, color: Theme.of(context).disabledColor, size: 18),

]),

]);
}),
),
)),
InkWell(
child: GetBuilder<NotificationController>(builder: (notificationController) {
return Stack(children: [
Icon(CupertinoIcons.bell, size: 25, color: Theme.of(context).textTheme.bodyLarge!.color),
notificationController.hasNotification ? Positioned(top: 0, right: 0, child: Container(
height: 10, width: 10, decoration: BoxDecoration(
color: Theme.of(context).primaryColor, shape: BoxShape.circle,
border: Border.all(width: 1, color: Theme.of(context).cardColor),
),
)) : const SizedBox(),
]);
}),
onTap: () => Get.toNamed(RouteHelper.getNotificationRoute()),
),
]),
)),
actions: const [SizedBox()],
),

/// Search Button
!showMobileModule ? SliverPersistentHeader(
pinned: true,
delegate: SliverDelegate(callback: (val){}, child: Center(child: Container(
height: 50, width: Dimensions.webMaxWidth,
color: searchBgShow ? Get.find<ThemeController>().darkTheme ? Theme.of(context).colorScheme.surface : Theme.of(context).cardColor : null,
padding: const EdgeInsets.symmetric(horizontal: Dimensions.paddingSizeSmall),
child: InkWell(
onTap: () => Get.toNamed(RouteHelper.getSearchRoute()),
child: Container(
padding: const EdgeInsets.symmetric(horizontal: Dimensions.paddingSizeSmall),
margin: const EdgeInsets.symmetric(vertical: 3),
decoration: BoxDecoration(
color: Theme.of(context).cardColor,
border: Border.all(color: Theme.of(context).primaryColor.withOpacity(0.2), width: 1),
borderRadius: BorderRadius.circular(25),
boxShadow: const [BoxShadow(color: Colors.black12, blurRadius: 5, spreadRadius: 1)],
),
child: Row(children: [
Icon(
CupertinoIcons.search, size: 25,
color: Theme.of(context).primaryColor,
),
const SizedBox(width: Dimensions.paddingSizeExtraSmall),
Expanded(child: Text(
Get.find<SplashController>().configModel!.moduleConfig!.module!.showRestaurantText! ? 'search_food_or_restaurant'.tr : 'search_item_or_store'.tr,
style: robotoRegular.copyWith(
fontSize: Dimensions.fontSizeSmall, color: Theme.of(context).hintColor,
),
)),
]),
),
),
))),
) : const SliverToBoxAdapter(),

SliverToBoxAdapter(
child: Center(child: SizedBox(
width: Dimensions.webMaxWidth,
child: !showMobileModule ? Column(crossAxisAlignment: CrossAxisAlignment.start, children: [

isGrocery ? const GroceryHomeScreen()
: isPharmacy ? const PharmacyHomeScreen()
: isFood ? const FoodHomeScreen()
: isShop ? const ShopHomeScreen()
: const SizedBox(),

]) : ModuleView(splashController: splashController),
)),
),

!showMobileModule ? SliverPersistentHeader(
key: _headerKey,
pinned: true,
delegate: SliverDelegate(
height: 85,
callback: (val) {
searchBgShow = val;
},
child: const AllStoreFilterWidget(),
),
) : const SliverToBoxAdapter(),

SliverToBoxAdapter(child: !showMobileModule ? Center(child: GetBuilder<StoreController>(builder: (storeController) {
return Padding(
padding: EdgeInsets.only(bottom: ResponsiveHelper.isDesktop(context) ? 0 : 100),
child: PaginatedListView(
scrollController: _scrollController,
totalSize: storeController.storeModel?.totalSize,
offset: storeController.storeModel?.offset,
onPaginate: (int? offset) async => await storeController.getStoreList(offset!, false),
itemView: ItemsView(
isStore: true,
items: null,
isFoodOrGrocery: (isFood || isGrocery),
stores: storeController.storeModel?.stores,
padding: EdgeInsets.symmetric(
horizontal: ResponsiveHelper.isDesktop(context) ? Dimensions.paddingSizeExtraSmall : Dimensions.paddingSizeSmall,
vertical: ResponsiveHelper.isDesktop(context) ? Dimensions.paddingSizeExtraSmall : Dimensions.paddingSizeDefault,
),
),
),
);
}),) : const SizedBox()),

],
),
),
),

floatingActionButton: AuthHelper.isLoggedIn() && homeController.cashBackOfferList != null && homeController.cashBackOfferList!.isNotEmpty ?
homeController.showFavButton ? Padding(
padding: EdgeInsets.only(bottom: 50.0, right: ResponsiveHelper.isDesktop(context) ? 50 : 0),
child: InkWell(
onTap: () => Get.dialog(const CashBackDialogWidget()),
child: const CashBackLogoWidget(),
),
) : null : null,

);
});
});
}
}

class SliverDelegate extends SliverPersistentHeaderDelegate {
Widget child;
double height;
Function(bool isPinned)? callback;
bool isPinned = false;

SliverDelegate({required this.child, this.height = 50, this.callback});

@OverRide
Widget build(BuildContext context, double shrinkOffset, bool overlapsContent) {
isPinned = shrinkOffset == maxExtent /*|| shrinkOffset < maxExtent*/;
callback!(isPinned);
return child;
}

@OverRide
double get maxExtent => height;

@OverRide
double get minExtent => height;

@OverRide
bool shouldRebuild(SliverDelegate oldDelegate) {
return oldDelegate.maxExtent != height || oldDelegate.minExtent != height || child != oldDelegate.child;
}
}
 

Attachments

  • Screenshot 2024-10-11 231442.png
    Screenshot 2024-10-11 231442.png
    267.7 KB · Views: 10
  • WhatsApp Image 2024-10-08 at 18.47.29_76e2f388.jpg
    WhatsApp Image 2024-10-08 at 18.47.29_76e2f388.jpg
    86.4 KB · Views: 9

GambitSteel

Active member
Trusted Uploader
Oct 22, 2020
149
152
43
MrSam_1 updated 6amMart - Multivendor Food, Grocery, eCommerce, Parcel, Pharmacy delivery app with Admin & Website with a new update entry:

6amMart - Multivendor Food, Grocery, eCommerce, Parcel, Pharmacy delivery app with Admin & Website

Decryption key:


- Introduced caching mechanisms in both the backend and front end to enhance speed and reduce load times. Note: In this release, we covered business settings and home page APIs
- Refined and optimized asset files to enhance application responsiveness and overall performance
- Updated system messages and labels to improve clarity and usability
- Improved overall user experience with UI/UX refinements
- Fixed...

Read the rest of this update entry...
 

Forum statistics

Threads
69,199
Messages
908,274
Members
236,728
Latest member
kantotan

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu