diff --git a/packages/smooth_app/lib/cards/product_cards/smooth_product_card_found.dart b/packages/smooth_app/lib/cards/product_cards/smooth_product_card_found.dart index 58883e4cd44e..4b3706b51963 100644 --- a/packages/smooth_app/lib/cards/product_cards/smooth_product_card_found.dart +++ b/packages/smooth_app/lib/cards/product_cards/smooth_product_card_found.dart @@ -217,7 +217,6 @@ class _SmoothProductItemPicture extends StatelessWidget { bottom: const Radius.circular(08.0), ), noImageBuilder: (_) => const PictureNotFound(), - heroTag: context.watch(), blurFilter: false, ), ], diff --git a/packages/smooth_app/lib/knowledge_panel/knowledge_panels/knowledge_panel_world_map_card.dart b/packages/smooth_app/lib/knowledge_panel/knowledge_panels/knowledge_panel_world_map_card.dart index 7b2eea7bc57a..81be2f9e0873 100644 --- a/packages/smooth_app/lib/knowledge_panel/knowledge_panels/knowledge_panel_world_map_card.dart +++ b/packages/smooth_app/lib/knowledge_panel/knowledge_panels/knowledge_panel_world_map_card.dart @@ -92,6 +92,7 @@ class KnowledgePanelWorldMapCard extends StatelessWidget { child: Material( color: Colors.transparent, child: InkWell( + borderRadius: const BorderRadius.all(Radius.circular(6.0)), onTap: () { Navigator.of(context).push( MaterialPageRoute( diff --git a/packages/smooth_app/lib/pages/personalized_ranking_page.dart b/packages/smooth_app/lib/pages/personalized_ranking_page.dart index f6c89e0b26ba..eb683edef687 100644 --- a/packages/smooth_app/lib/pages/personalized_ranking_page.dart +++ b/packages/smooth_app/lib/pages/personalized_ranking_page.dart @@ -16,6 +16,7 @@ import 'package:smooth_app/helpers/product_compatibility_helper.dart'; import 'package:smooth_app/pages/product/common/loading_status.dart'; import 'package:smooth_app/pages/product/common/product_list_item_simple.dart'; import 'package:smooth_app/pages/product_list_user_dialog_helper.dart'; +import 'package:smooth_app/resources/app_icons.dart'; import 'package:smooth_app/widgets/smooth_app_bar.dart'; import 'package:smooth_app/widgets/smooth_menu_button.dart'; import 'package:smooth_app/widgets/smooth_scaffold.dart'; @@ -106,6 +107,7 @@ class _PersonalizedRankingPageState extends State SmoothPopupMenuItem( value: 'add_to_list', label: appLocalizations.user_list_button_add_product, + icon: const AddToList.symbol().icon, ), ]; }, @@ -200,12 +202,21 @@ class _PersonalizedRankingPageState extends State ) { final ProductCompatibilityHelper helper = ProductCompatibilityHelper.status(status); - return Center( - child: Padding( - padding: const EdgeInsets.all(SMALL_SPACE), - child: Text( - helper.getHeaderText(appLocalizations), - style: Theme.of(context).textTheme.titleMedium, + return SizedBox( + width: double.infinity, + child: ColoredBox( + color: helper.getColor(context), + child: Padding( + padding: const EdgeInsets.all(MEDIUM_SPACE), + child: Text( + helper.getHeaderText(appLocalizations), + textAlign: TextAlign.center, + style: Theme.of(context).textTheme.titleMedium?.copyWith( + fontWeight: FontWeight.w600, + fontSize: 15.0, + color: Colors.white, + ), + ), ), ), ); @@ -220,7 +231,6 @@ class _PersonalizedRankingPageState extends State direction: DismissDirection.endToStart, background: Container( alignment: AlignmentDirectional.centerEnd, - margin: const EdgeInsets.symmetric(vertical: 14.0), color: RED_COLOR, padding: const EdgeInsetsDirectional.only(end: 30.0), child: const Icon( diff --git a/packages/smooth_app/lib/pages/product/common/product_list_page.dart b/packages/smooth_app/lib/pages/product/common/product_list_page.dart index 8884734af976..7f0d8360541b 100644 --- a/packages/smooth_app/lib/pages/product/common/product_list_page.dart +++ b/packages/smooth_app/lib/pages/product/common/product_list_page.dart @@ -295,6 +295,7 @@ class _ProductListPageState extends State child: ListView.separated( controller: _scrollController, itemCount: products.length, + physics: const AlwaysScrollableScrollPhysics(), itemBuilder: (BuildContext context, int index) => _buildItem( dismissible, diff --git a/packages/smooth_app/lib/widgets/smooth_menu_button.dart b/packages/smooth_app/lib/widgets/smooth_menu_button.dart index 67b9257e6698..887b9eee7095 100644 --- a/packages/smooth_app/lib/widgets/smooth_menu_button.dart +++ b/packages/smooth_app/lib/widgets/smooth_menu_button.dart @@ -57,7 +57,7 @@ class _SmoothPopupMenuButtonState extends State> { padding: EdgeInsetsDirectional.only( bottom: MediaQuery.viewPaddingOf(context).bottom, ), - itemCount: widget.itemBuilder(context).length, + itemCount: list.length, shrinkWrap: true, itemBuilder: (BuildContext context, int index) { final SmoothPopupMenuItem item = list.elementAt(index);