The 'wait options' are now in a listview, so it doesn't overflow when there's a lot of steps in a recipe
This commit is contained in:
parent
8420188d9c
commit
a5df4a0d8a
2 changed files with 269 additions and 124 deletions
131
assets/recipes/many_step_pizza.yaml
Normal file
131
assets/recipes/many_step_pizza.yaml
Normal file
|
@ -0,0 +1,131 @@
|
|||
recipe:
|
||||
name: "Many Step Pizza"
|
||||
description: >
|
||||
A Neapolitan Style pizza with a multi day cold rise
|
||||
ingredients:
|
||||
method: ratio
|
||||
items:
|
||||
- name: flour
|
||||
unit: g
|
||||
value: 0.595
|
||||
- name: water
|
||||
unit: ml
|
||||
value: 0.386
|
||||
- name: salt
|
||||
unit: g
|
||||
value: 0.0178
|
||||
- name: yeast
|
||||
unit: g
|
||||
value: 0.0012
|
||||
steps:
|
||||
- name: Make the dough
|
||||
wait:
|
||||
description: How many days cold rise?
|
||||
unit: days
|
||||
min: 1
|
||||
max: 5
|
||||
description: >
|
||||
Combine all the ingredients to make the dough, we start with just the water and salt and add the yeast after adding some of the flour to not kill the yeast.
|
||||
substeps:
|
||||
- name: Salt+Water
|
||||
description: >
|
||||
Combine the salt and the water in a bowl, stir until the salt dissolves.
|
||||
- name: +20% flour
|
||||
description: >
|
||||
Add ~20% of the flour to the water/salt mixture and mix everything together.
|
||||
- name: Yeast
|
||||
description: >
|
||||
Add the yeast to the mixture.
|
||||
- name: Flour
|
||||
description: >
|
||||
Add the rest of the flour to the mixture, knead the dough for 15-20 minutes.
|
||||
- name: Fridge
|
||||
description: >
|
||||
Place the dough in a sealed/covered container in the fridge.
|
||||
- name: Make the dough2
|
||||
wait:
|
||||
description: How many days cold rise again?
|
||||
unit: days
|
||||
min: 1
|
||||
max: 5
|
||||
description: >
|
||||
Combine all the ingredients to make the dough, we start with just the water and salt and add the yeast after adding some of the flour to not kill the yeast.
|
||||
substeps:
|
||||
- name: Salt+Water
|
||||
description: >
|
||||
Combine the salt and the water in a bowl, stir until the salt dissolves.
|
||||
- name: +20% flour
|
||||
description: >
|
||||
Add ~20% of the flour to the water/salt mixture and mix everything together.
|
||||
- name: Yeast
|
||||
description: >
|
||||
Add the yeast to the mixture.
|
||||
- name: Flour
|
||||
description: >
|
||||
Add the rest of the flour to the mixture, knead the dough for 15-20 minutes.
|
||||
- name: Fridge
|
||||
description: >
|
||||
Place the dough in a sealed/covered container in the fridge.
|
||||
- name: Warm rise
|
||||
wait:
|
||||
description: How many hours of room temperature rise?
|
||||
unit: hours
|
||||
min: 3
|
||||
max: 6
|
||||
description: >
|
||||
Take the dough out of the fridge and let it come to room temperature for a final rise before baking
|
||||
substeps:
|
||||
- name: Split
|
||||
description: >
|
||||
Split the dough into smaller balls and place them into a covered/sealed container(s)
|
||||
- name: Warm rise2
|
||||
wait:
|
||||
description: How many hours of room temperature rise again?
|
||||
unit: hours
|
||||
min: 3
|
||||
max: 6
|
||||
description: >
|
||||
Take the dough out of the fridge and let it come to room temperature for a final rise before baking
|
||||
substeps:
|
||||
- name: Split
|
||||
description: >
|
||||
Split the dough into smaller balls and place them into a covered/sealed container(s)
|
||||
- name: Preheat Oven
|
||||
wait:
|
||||
description: How long does your oven take to preheat?
|
||||
unit: minutes
|
||||
min: 30
|
||||
max: 120
|
||||
description: >
|
||||
Preheat the oven in advance to ensure it's as hot as it can be
|
||||
A high (250 to 300 degrees celsius) is recommended)
|
||||
- name: Preheat Oven
|
||||
wait:
|
||||
description: How long does your oven take to preheat?
|
||||
unit: minutes
|
||||
min: 30
|
||||
max: 120
|
||||
description: >
|
||||
Preheat the oven in advance to ensure it's as hot as it can be
|
||||
A high (250 to 300 degrees celsius) is recommended)
|
||||
- name: Preheat Oven
|
||||
wait:
|
||||
description: How long does your oven take to preheat?
|
||||
unit: minutes
|
||||
min: 30
|
||||
max: 120
|
||||
description: >
|
||||
Preheat the oven in advance to ensure it's as hot as it can be
|
||||
A high (250 to 300 degrees celsius) is recommended)
|
||||
- name: Preheat Oven
|
||||
wait:
|
||||
description: How long does your oven take to preheat?
|
||||
unit: minutes
|
||||
min: 30
|
||||
max: 120
|
||||
description: >
|
||||
Preheat the oven in advance to ensure it's as hot as it can be
|
||||
A high (250 to 300 degrees celsius) is recommended)
|
||||
- name: Pizza Time!
|
||||
description: >
|
||||
Time to make pizza!
|
|
@ -48,6 +48,10 @@ class AddPizzaEventPageState extends State<AddPizzaEventPage> {
|
|||
),
|
||||
body: Container(
|
||||
padding: EdgeInsets.fromLTRB(40, 10, 40, 10),
|
||||
child: Column(
|
||||
children: <Widget>[
|
||||
Expanded(
|
||||
flex: 30,
|
||||
child: Column(
|
||||
children: <Widget>[
|
||||
Row(
|
||||
|
@ -155,7 +159,14 @@ class AddPizzaEventPageState extends State<AddPizzaEventPage> {
|
|||
)
|
||||
]
|
||||
),
|
||||
]
|
||||
)
|
||||
),
|
||||
Divider(),
|
||||
Expanded(
|
||||
flex: 45,
|
||||
child: ListView(
|
||||
children: <Widget>[
|
||||
this.initialized ? Column(
|
||||
children: this.pizzaRecipe.recipeSteps.where((recipeStep) => recipeStep.waitDescription.length > 0).map((recipeStep) {
|
||||
return <Widget>[
|
||||
|
@ -183,6 +194,9 @@ class AddPizzaEventPageState extends State<AddPizzaEventPage> {
|
|||
) : Container(),
|
||||
Divider(),
|
||||
this.initialized ? this.pizzaRecipe.getIngredientsTable(this.pizzaCount, this.doughBallSize) : Container(),
|
||||
]
|
||||
)
|
||||
),
|
||||
Divider(),
|
||||
Spacer(),
|
||||
SizedBox(
|
||||
|
|
Loading…
Add table
Reference in a new issue