Update project

This commit is contained in:
2026-07-23 15:36:11 +05:30
parent 1197cfc161
commit 14fffa40c6
84 changed files with 20918 additions and 2761 deletions

View File

@@ -347,13 +347,39 @@ class _CartPageState extends State<CartPage> {
const Padding(
padding: EdgeInsets.all(6.0),
child: Text(
'No slots available for today.\nPlease try changing dates to schedule orders.',
'Your cart is empty.\nBrowse our products to get started.',
textAlign: TextAlign.center,
style: TextStyle(
color: Colors.grey,
fontWeight: FontWeight.bold),
),
),
const SizedBox(height: 24),
SizedBox(
width: 200,
height: 46,
child: ElevatedButton(
onPressed: () {
// Switch to the Stores tab (index 1) via the shared GetX controller
Get.find<BottomNavController>().currentIndex.value = 1;
},
style: ElevatedButton.styleFrom(
backgroundColor: ColorConstants.primaryColor,
foregroundColor: Colors.white,
elevation: 0,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(24),
),
),
child: const Text(
'Browse Products',
style: TextStyle(
fontSize: 15,
fontWeight: FontWeight.w600,
),
),
),
),
],
),
)