Commit 652e9c7a authored by Adam Barth's avatar Adam Barth Committed by GitHub

Make kPestoRecipes a constant (#7886)

Someone on stack overflow was mutating the list of recipes and getting
confused about why the UI didn't redraw. Making kPestoRecipes a constant
might help avoid that confusion.
parent b339c715
......@@ -551,7 +551,7 @@ class RecipeStep {
final String description;
}
final List<Recipe> kPestoRecipes = <Recipe>[
const List<Recipe> kPestoRecipes = const <Recipe>[
const Recipe(
name: 'Pesto Bruschetta',
author: 'Peter Carlsson',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment