fix: Update button onPressed to null and adjust background color in Layout
This commit is contained in:
parent
08991f2095
commit
9ad8bdc893
@ -255,12 +255,12 @@ class Layout extends StatelessWidget {
|
|||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
MyButton(
|
MyButton(
|
||||||
onPressed: () => {},
|
onPressed:null,
|
||||||
tapTargetSize: MaterialTapTargetSize.shrinkWrap,
|
tapTargetSize: MaterialTapTargetSize.shrinkWrap,
|
||||||
borderRadiusAll: AppStyle.buttonRadius.medium,
|
borderRadiusAll: AppStyle.buttonRadius.medium,
|
||||||
padding: MySpacing.xy(8, 4),
|
padding: MySpacing.xy(8, 4),
|
||||||
splashColor: contentTheme.onBackground.withAlpha(20),
|
splashColor: contentTheme.onBackground.withAlpha(20),
|
||||||
backgroundColor: Colors.transparent,
|
backgroundColor: const Color.fromARGB(0, 220, 218, 218),
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
Icon(
|
Icon(
|
||||||
@ -279,11 +279,11 @@ class Layout extends StatelessWidget {
|
|||||||
MySpacing.height(4),
|
MySpacing.height(4),
|
||||||
MyButton(
|
MyButton(
|
||||||
tapTargetSize: MaterialTapTargetSize.shrinkWrap,
|
tapTargetSize: MaterialTapTargetSize.shrinkWrap,
|
||||||
onPressed: () => {},
|
onPressed:null,
|
||||||
borderRadiusAll: AppStyle.buttonRadius.medium,
|
borderRadiusAll: AppStyle.buttonRadius.medium,
|
||||||
padding: MySpacing.xy(8, 4),
|
padding: MySpacing.xy(8, 4),
|
||||||
splashColor: contentTheme.onBackground.withAlpha(20),
|
splashColor: contentTheme.onBackground.withAlpha(20),
|
||||||
backgroundColor: Colors.transparent,
|
backgroundColor: const Color.fromARGB(0, 220, 218, 218),
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
Icon(
|
Icon(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user