feat:新增菜谱详细信息模块

This commit is contained in:
2025-07-31 22:55:39 +08:00
parent b5dd0ab749
commit 504ee073ce
12 changed files with 556 additions and 352 deletions

View File

@@ -33,20 +33,16 @@ class _RecipeTimeline extends State<RecipeTimeline> {
@override
Widget build(BuildContext context) {
return Padding(
padding: EdgeInsets.all(10),
child: Column(
children: [
YearSelector(
initialYear: DateTime.now().year,
minYear: 2000,
maxYear: 2100,
onYearChanged: (year) => refreshRecord(year),
),
SizedBox(height: 10),
Expanded(child: timelineContainer(recordList)),
],
),
return Column(
children: [
YearSelector(
initialYear: DateTime.now().year,
minYear: 2000,
maxYear: 2100,
onYearChanged: (year) => refreshRecord(year),
),
Expanded(child: timelineContainer(recordList)),
],
);
}
}