added 'bought' bool to ingredient
This commit is contained in:
parent
5a666396fd
commit
f826869ce5
1 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,9 @@ class Ingredient extends HiveObject {
|
||||||
@HiveField(2)
|
@HiveField(2)
|
||||||
double value;
|
double value;
|
||||||
|
|
||||||
|
@HiveField(3)
|
||||||
|
bool bought = false;
|
||||||
|
|
||||||
Ingredient(this.name, this.unit, this.value);
|
Ingredient(this.name, this.unit, this.value);
|
||||||
|
|
||||||
TableRow getIngredientTableRow(int pizzaCount, int doughBallSize){
|
TableRow getIngredientTableRow(int pizzaCount, int doughBallSize){
|
||||||
|
|
Loading…
Add table
Reference in a new issue