feat:增加图表组件

This commit is contained in:
2025-07-13 22:00:55 +08:00
parent 55ca36cba2
commit 8a1b507166
14 changed files with 464 additions and 218 deletions

View File

@@ -8,14 +8,23 @@ class Recipe {
final int commentCount;
Recipe(
this.name,
this.category,
this.date,
this.imageUrl,
this.likeCount,
this.favoriteCount,
this.commentCount,
);
this.name,
this.category,
this.date,
this.imageUrl,
this.likeCount,
this.favoriteCount,
this.commentCount,
);
}
class Record {
final String name;
final String category;
final String date;
final String imageUrl;
Record(this.name, this.category, this.date, this.imageUrl);
}
enum ViewType { recipe, calendar, timeline }