feat: implement AI recipe suggestions; add endpoint and UI for generating suggestions based on inventory
Test Suite / test (24.15.0) (push) Has been cancelled
Test Suite / test (24.15.0) (push) Has been cancelled
This commit is contained in:
@@ -92,11 +92,22 @@ class RecipesScreen extends ConsumerWidget {
|
||||
}
|
||||
},
|
||||
),
|
||||
Positioned(
|
||||
right: 16,
|
||||
bottom: 80,
|
||||
child: FloatingActionButton.small(
|
||||
tooltip: 'AI-receptförslag',
|
||||
heroTag: 'ai_suggestions',
|
||||
onPressed: () => context.push('/recipes/ai-suggestions'),
|
||||
child: const Icon(Icons.auto_awesome),
|
||||
),
|
||||
),
|
||||
Positioned(
|
||||
right: 16,
|
||||
bottom: 16,
|
||||
child: FloatingActionButton(
|
||||
tooltip: context.l10n.recipesNewTooltip,
|
||||
heroTag: 'new_recipe',
|
||||
onPressed: () => context.push('/recipes/create'),
|
||||
child: const Icon(Icons.add),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user