leftover cleanup

This commit is contained in:
broodjeaap89 2021-07-11 11:20:13 +02:00
parent 77dd896fcd
commit d4dcd2479d
2 changed files with 3 additions and 2 deletions

View file

@ -16,7 +16,7 @@ class PizzaRecipe {
PizzaRecipe(this.name, this.description, this.ingredients, this.recipeSteps); PizzaRecipe(this.name, this.description, this.ingredients, this.recipeSteps);
Widget getIngredientsWidget(int pizzaCount, int doughBallSize){ Widget getIngredientsTable(int pizzaCount, int doughBallSize){
return ingredients.getIngredientsTable(pizzaCount, doughBallSize); return ingredients.getIngredientsTable(pizzaCount, doughBallSize);
} }

View file

@ -156,7 +156,8 @@ class AddPizzaEventPageState extends State<AddPizzaEventPage> {
] ]
), ),
Divider(), Divider(),
this.initialized ? this.pizzaRecipe.getIngredientsWidget(this.pizzaCount, this.doughBallSize) : Container(), this.initialized ? this.pizzaRecipe.getIngredientsTable(this.pizzaCount, this.doughBallSize) : Container(),
Divider(),
Spacer(), Spacer(),
SizedBox( SizedBox(
width: double.infinity, width: double.infinity,