fix: Update button onPressed to null and adjust background color in Layout

This commit is contained in:
Vaibhav Surve 2025-05-31 12:02:01 +05:30
parent 08991f2095
commit 9ad8bdc893

View File

@ -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(