factor:布局颜色重构

This commit is contained in:
2025-11-20 14:25:31 +08:00
parent e6ee934a3e
commit eb4f7a3637
13 changed files with 60 additions and 69 deletions

View File

@@ -83,8 +83,9 @@ class _RecipeListState extends State<RecipeList> {
_buildSelectCategory(provider),
SizedBox(height: 5),
Expanded(
child: ListView.builder(
child: ListView.separated(
itemCount: provider.recipeSummaryList.length,
separatorBuilder: (context, index) => SizedBox(height: 8),
itemBuilder: (context, index) {
return RecipeCard(recipe: provider.recipeSummaryList[index]);
},