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

pull/2245/head
ggurdin 4 weeks ago committed by GitHub
parent b5558905d8
commit 9ef954a8d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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),
],
);
},

Loading…
Cancel
Save