chore: remove horizontal offset from pressable button widget (#4180)

This commit is contained in:
ggurdin 2025-09-29 15:25:58 -04:00 committed by GitHub
parent b5558905d8
commit 9ef954a8d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -172,17 +172,12 @@ class PressableButtonState extends State<PressableButton>
bottom: !_depressed
? widget.buttonHeight - _tweenAnimation.value
: 0,
right: !_depressed
? (widget.buttonHeight - _tweenAnimation.value) /
2
: 0,
),
child: child,
),
],
),
),
SizedBox(height: _tweenAnimation.value / 2),
],
);
},