79699410

Date: 2025-07-12 16:12:09
Score: 0.5
Natty:
Report link

Update _updateFilterText so that it also updates futureRecipe when the filter changes.

void _updateFilterText(String val) {
  print(val);
  setState(() {
    mealTypeFilter = val;
    futureRecipe = RecipeDataService().getRecipes(mealTypeFilter);
  });
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ManojK