feat: enhance navigation by adding recipe links in inventory and pantry screens
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user