From c02a37c06f56bedfc20d7cfe0068c525db5b73c3 Mon Sep 17 00:00:00 2001 From: Abhishek Bhatt <47862474+bhattabhi013@users.noreply.github.com> Date: Wed, 6 Apr 2022 00:48:31 +0530 Subject: [PATCH] fix: different background color on sliverAppBar (#1463) --- .../smooth_app/lib/pages/product/common/product_query_page.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/smooth_app/lib/pages/product/common/product_query_page.dart b/packages/smooth_app/lib/pages/product/common/product_query_page.dart index 9e9feab4ada..0e8586cf7e2 100644 --- a/packages/smooth_app/lib/pages/product/common/product_query_page.dart +++ b/packages/smooth_app/lib/pages/product/common/product_query_page.dart @@ -254,6 +254,7 @@ class _ProductQueryPageState extends State { style: themeData.textTheme.subtitle1! .copyWith(color: widget.mainColor)), style: TextButton.styleFrom( + primary: widget.mainColor, textStyle: TextStyle( color: widget.mainColor, ), @@ -392,6 +393,7 @@ class _ProductQueryPageState extends State { Padding( padding: const EdgeInsets.only(top: 28.0), child: IconButton( + splashColor: color, icon: Icon( ConstantIcons.instance.getBackIcon(), color: color,