added provider for recipe wizard

This commit is contained in:
2025-02-10 19:55:18 +01:00
parent f72e9dae2b
commit d2e3b158cb
6 changed files with 226 additions and 12 deletions

View File

@@ -8,4 +8,14 @@ class IngredientListEntry {
final bool optional;
IngredientListEntry(this.ingredient, this.amount, this.unit, this.optional);
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is IngredientListEntry &&
ingredient == other.ingredient &&
amount == other.amount;
@override
int get hashCode => Object.hash(ingredient.hashCode, amount.hashCode);
}