From ccb8d94be2221e1cac8d0e36a4464418ce03aec5 Mon Sep 17 00:00:00 2001 From: davidpkj Date: Sat, 30 Jul 2022 10:10:43 +0200 Subject: updated flutter, new recipe layout --- lib/widgets/recipe_card_widget.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/widgets/recipe_card_widget.dart') diff --git a/lib/widgets/recipe_card_widget.dart b/lib/widgets/recipe_card_widget.dart index d96b004..22e50ef 100644 --- a/lib/widgets/recipe_card_widget.dart +++ b/lib/widgets/recipe_card_widget.dart @@ -140,7 +140,7 @@ class __RecipeInfoState extends State<_RecipeInfo> { padding: const EdgeInsets.all(2.0), child: Text( widget.recipe.title!, - style: cRecipeTextStyle, + style: cRecipeTitleStyle, overflow: TextOverflow.ellipsis, ), ), @@ -156,7 +156,7 @@ class __RecipeInfoState extends State<_RecipeInfo> { Padding( padding: const EdgeInsets.only(bottom: 2.0), child: Row( - children: widget.recipe.rating != null ? _buildRating(widget.recipe.rating) : [], + children: _buildRating(widget.recipe.rating), ), ), ], -- cgit v1.2.3