From 9ad8bdc8936040868f1b5994caa2049650a80adf Mon Sep 17 00:00:00 2001 From: Vaibhav Surve Date: Sat, 31 May 2025 12:02:01 +0530 Subject: [PATCH] fix: Update button onPressed to null and adjust background color in Layout --- lib/view/layouts/layout.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/view/layouts/layout.dart b/lib/view/layouts/layout.dart index 3b4583d..b6d3601 100644 --- a/lib/view/layouts/layout.dart +++ b/lib/view/layouts/layout.dart @@ -255,12 +255,12 @@ class Layout extends StatelessWidget { crossAxisAlignment: CrossAxisAlignment.start, children: [ MyButton( - onPressed: () => {}, + onPressed:null, tapTargetSize: MaterialTapTargetSize.shrinkWrap, borderRadiusAll: AppStyle.buttonRadius.medium, padding: MySpacing.xy(8, 4), splashColor: contentTheme.onBackground.withAlpha(20), - backgroundColor: Colors.transparent, + backgroundColor: const Color.fromARGB(0, 220, 218, 218), child: Row( children: [ Icon( @@ -279,11 +279,11 @@ class Layout extends StatelessWidget { MySpacing.height(4), MyButton( tapTargetSize: MaterialTapTargetSize.shrinkWrap, - onPressed: () => {}, + onPressed:null, borderRadiusAll: AppStyle.buttonRadius.medium, padding: MySpacing.xy(8, 4), splashColor: contentTheme.onBackground.withAlpha(20), - backgroundColor: Colors.transparent, + backgroundColor: const Color.fromARGB(0, 220, 218, 218), child: Row( children: [ Icon(