feat: add Flutter web frontend with authentication and recipe management features

This commit is contained in:
Nils-Johan Gynther
2026-04-21 21:29:47 +02:00
parent 2acf66e4c4
commit 3996456f6f
19 changed files with 460 additions and 0 deletions
@@ -0,0 +1,23 @@
class Recipe {
final int id;
final String title;
final String? description;
final String? imageUrl;
final int? servings;
const Recipe({
required this.id,
required this.title,
this.description,
this.imageUrl,
this.servings,
});
factory Recipe.fromJson(Map<String, dynamic> json) => Recipe(
id: json['id'] as int,
title: json['title'] as String,
description: json['description'] as String?,
imageUrl: json['imageUrl'] as String?,
servings: json['servings'] as int?,
);
}