We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e23019b commit f2d0795Copy full SHA for f2d0795
Chapter_05/lib/recipe_book.dart
@@ -40,15 +40,15 @@ kitchen and took the recipe book with him!""";
40
}
41
42
// Tooltip
43
- static final tooltip = new Expando<TooltipModel>();
+ static final _tooltip = new Expando<TooltipModel>();
44
TooltipModel tooltipForRecipe(Recipe recipe) {
45
- if (tooltip[recipe] == null) {
46
- tooltip[recipe] = new TooltipModel(recipe.imgUrl,
+ if (_tooltip[recipe] == null) {
+ _tooltip[recipe] = new TooltipModel(recipe.imgUrl,
47
"I don't have a picture of these recipes, "
48
"so here's one of my cat instead!",
49
80);
50
51
- return tooltip[recipe]; // recipe.tooltip
+ return _tooltip[recipe]; // recipe.tooltip
52
53
54
void clearFilters() {
0 commit comments