can now click links in the markdown description on the pizza event page
This commit is contained in:
parent
aed16832c2
commit
21e922b036
1 changed files with 6 additions and 1 deletions
|
@ -47,7 +47,12 @@ class PizzaEventPageState extends State<PizzaEventPage> {
|
||||||
flex: 80,
|
flex: 80,
|
||||||
child: ListView(
|
child: ListView(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
MarkdownBody(data: this.widget.pizzaEvent.recipe.description),
|
MarkdownBody(
|
||||||
|
data: this.widget.pizzaEvent.recipe.description,
|
||||||
|
onTapLink: (text, url, title) {
|
||||||
|
launch(url!);
|
||||||
|
},
|
||||||
|
),
|
||||||
Divider(),
|
Divider(),
|
||||||
this.widget.pizzaEvent.recipe.getIngredientsTable(this.widget.pizzaEvent.pizzaCount, this.widget.pizzaEvent.doughBallSize),
|
this.widget.pizzaEvent.recipe.getIngredientsTable(this.widget.pizzaEvent.pizzaCount, this.widget.pizzaEvent.doughBallSize),
|
||||||
] + this.widget.pizzaEvent.recipe.recipeSteps.map((recipeStep) => buildRecipeStepWhenWidget(recipeStep)).toList()
|
] + this.widget.pizzaEvent.recipe.recipeSteps.map((recipeStep) => buildRecipeStepWhenWidget(recipeStep)).toList()
|
||||||
|
|
Loading…
Add table
Reference in a new issue