diff options
author | davidpkj <davidpenkow1@gmail.com> | 2022-07-30 10:10:43 +0200 |
---|---|---|
committer | davidpkj <davidpenkow1@gmail.com> | 2022-07-30 10:10:43 +0200 |
commit | ccb8d94be2221e1cac8d0e36a4464418ce03aec5 (patch) | |
tree | bb042bbe1c8fdfe0c0630fadd7bd3582d3436ee8 /lib/widgets/recipe_card_widget.dart | |
parent | d282f4bb380ce9c445d6bd3a4c9f001bb6b5f501 (diff) |
updated flutter, new recipe layout
Diffstat (limited to 'lib/widgets/recipe_card_widget.dart')
-rw-r--r-- | lib/widgets/recipe_card_widget.dart | 4 |
1 files changed, 2 insertions, 2 deletions
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), ), ), ], |