message when no businesses are added

This commit is contained in:
2025-07-29 13:18:57 +02:00
parent d0e8e97080
commit 4993bc2f0a

View File

@@ -81,9 +81,35 @@ class _MihFavouriteBusinessesState extends State<MihFavouriteBusinesses> {
myLocation: widget.myLocation, myLocation: widget.myLocation,
); );
} else { } else {
return Center( return Column(
child: Text("No bookmarked businesses found"), children: [
const SizedBox(height: 50),
Icon(
Icons.business_center_rounded,
size: 150,
color: MzansiInnovationHub.of(context)!
.theme
.secondaryColor(),
),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 10.0),
child: SizedBox(
width: 500,
child: Text(
"No favourites yet, use Mzansi Search to find and bookmark businesses you like",
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 18,
fontWeight: FontWeight.bold,
),
),
),
),
],
); );
// return Center(
// child: Text("No bookmarked businesses found"),
// );
} }
} else { } else {
return Center( return Center(