feat: enhance navigation by adding recipe links in inventory and pantry screens

This commit is contained in:
Nils-Johan Gynther
2026-04-24 14:13:26 +02:00
parent a39640d4ea
commit 13a0ab3584
7 changed files with 42 additions and 10 deletions
@@ -284,9 +284,19 @@ class _PantryScreenState extends ConsumerState<PantryScreen> {
return ListView(
padding: const EdgeInsets.all(16),
children: [
Text(
'Produkter du alltid räknar med att ha hemma.',
style: Theme.of(context).textTheme.bodyMedium,
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text(
'Produkter du alltid räknar med att ha hemma.',
style: Theme.of(context).textTheme.bodyMedium,
),
IconButton(
tooltip: 'Gå till recept',
icon: const Icon(Icons.restaurant_menu),
onPressed: () => context.go('/recipes'),
),
],
),
const SizedBox(height: 12),
Row(