|
|
|
@ -144,7 +144,7 @@ class _SecondaryButtonState extends State<SecondaryButton>
|
|
|
|
onTapCancel: () {
|
|
|
|
onTapCancel: () {
|
|
|
|
_animationController.forward();
|
|
|
|
_animationController.forward();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onTap: () =>{ widget.disabled ? null : widget.onTap(), permission.vibrate()},
|
|
|
|
onTap: () =>{ widget.disabled ? null : permission.vibrate(widget.onTap, context)},
|
|
|
|
// onTap: widget.disabled?null:Feedback.wrapForTap(widget.onTap, context),
|
|
|
|
// onTap: widget.disabled?null:Feedback.wrapForTap(widget.onTap, context),
|
|
|
|
behavior: HitTestBehavior.opaque,
|
|
|
|
behavior: HitTestBehavior.opaque,
|
|
|
|
child: Transform.scale(
|
|
|
|
child: Transform.scale(
|
|
|
|
|