Initial commit: CookIT recipe collection and week planner
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
7d7a0bc60b
173 files changed
+22803
No files matched your search
@@ -0,0 +1,20 @@
|
||||
import 'dart:typed_data';
|
||||
|
||||
import '../bundle/bundle_codec.dart';
|
||||
import '../recipes/models/recipe.dart';
|
||||
|
||||
/// A Recipe arriving from another cook – scanned from a Recipe Code or opened
|
||||
/// from a one-Recipe Recipe Bundle – before it gets an id, a Course and
|
||||
/// Photos in this collection.
|
||||
class SharedRecipe {
|
||||
const SharedRecipe({required this.recipe, this.courseName, this.units = const [], this.photos = const []});
|
||||
|
||||
final Recipe recipe;
|
||||
final String? courseName;
|
||||
|
||||
/// The sender's own units this Recipe uses.
|
||||
final List<BundleUnit> units;
|
||||
|
||||
/// Photo files in order (only a Recipe Bundle carries them).
|
||||
final List<Uint8List> photos;
|
||||
}
|
||||
Reference in new issue
Block a user