Commit Graph

9 Commits

Author SHA1 Message Date
38a88bf868 Add licence identifiers in files 2024-12-07 13:29:34 +01:00
a70a7fd1e3 Remove debug statement 2024-09-25 17:43:42 +02:00
f28626c49e Move select logic for FoodEntry into BLoC 2024-09-25 17:33:40 +02:00
a7a7f44050 Make scanned widgets appear in the list instead of putting the info into
the EnterFoodWidget.

1. Make scanned foods appear in the list of foods
2. Remove Controller for entering food

This commit removes the EnterFoodController that was used to put a
scanned food into the EnterFoodWidget.
This is now unnecessary because scanning a product will be distributed
via the FoodBLoC.
2024-09-24 14:41:42 +02:00
54157f6dec style Snackbar. still need to find a solution for async gaps in onPressed() for ScanButton 2024-09-08 15:07:39 +02:00
df6e5dd8cb Add error handling for food scanning and make sum widget have different colors depending on difference to limit setting. 2024-09-08 01:57:40 +02:00
1a4614f331 Remove go_router because I could not figure out why initState() was called on my widget, thus clearing state when I did not expect it 2024-09-07 01:38:03 +02:00
4afb3ca319 Make it work with relying the data for 'EnterFoodWidget' onto the InheritedWidget 2024-09-07 00:02:07 +02:00
3493790598 wip introduce scanner 2024-09-06 19:03:41 +02:00