forked from eatvio/eatvio_app
feat(diary): New models for calendar and autocomplete fix
This commit is contained in:
@@ -261,9 +261,9 @@ class DiaryBloc extends Bloc<DiaryEvent, DiaryState> {
|
||||
if (state is DiaryStateLoaded) {
|
||||
//var currentState = state as DiaryStateLoaded;
|
||||
|
||||
print(await diaryRepository.inputProduct(event.input));
|
||||
final Map<String, List<Product>> productNutritionalValues =
|
||||
await diaryRepository.inputProduct(event.input);
|
||||
print(productNutritionalValues);
|
||||
// Create a new controller with the input text and update the autocomplete list
|
||||
/*var updatedState = currentState.copyWith(
|
||||
productNameController: TextEditingController(text: event.input),
|
||||
|
||||
Reference in New Issue
Block a user