Update project
This commit is contained in:
@@ -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,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user