added unit to pizza event page ingredient list
This commit is contained in:
parent
b9a78665fa
commit
0f22e45b21
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ class PizzaEventPageState extends State<PizzaEventPage> {
|
||||||
return TableRow(
|
return TableRow(
|
||||||
children: <TableCell>[
|
children: <TableCell>[
|
||||||
TableCell(child: Text(ingredient.name)),
|
TableCell(child: Text(ingredient.name)),
|
||||||
TableCell(child: Text("${ingredient.getAbsoluteString(totalWeight)}")),
|
TableCell(child: Text("${ingredient.getAbsoluteString(totalWeight)}${ingredient.unit}")),
|
||||||
TableCell(child: Center(child: Checkbox(
|
TableCell(child: Center(child: Checkbox(
|
||||||
value: ingredient.bought,
|
value: ingredient.bought,
|
||||||
onChanged: (bool? newValue) {
|
onChanged: (bool? newValue) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue