Functioning Ingredient BottomSheet
This commit is contained in:
@@ -7,7 +7,12 @@ class IngredientListEntry {
|
||||
final Unit unit;
|
||||
final bool optional;
|
||||
|
||||
IngredientListEntry(this.ingredient, this.amount, this.unit, this.optional);
|
||||
IngredientListEntry({
|
||||
required this.ingredient,
|
||||
required this.amount,
|
||||
required this.unit,
|
||||
this.optional = false,
|
||||
});
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) =>
|
||||
|
||||
Reference in New Issue
Block a user