diff --git a/packages/pinball_ui/lib/src/widgets/pinball_button.dart b/packages/pinball_ui/lib/src/widgets/pinball_button.dart index 1e7db7b7..ee9b5c54 100644 --- a/packages/pinball_ui/lib/src/widgets/pinball_button.dart +++ b/packages/pinball_ui/lib/src/widgets/pinball_button.dart @@ -30,10 +30,8 @@ class PinballButton extends StatelessWidget { ), ), child: Center( - child: InkWell( + child: GestureDetector( onTap: onTap, - splashColor: PinballColors.transparent, - highlightColor: PinballColors.transparent, child: Padding( padding: const EdgeInsets.symmetric( horizontal: 32, diff --git a/packages/pinball_ui/lib/src/widgets/pinball_dpad_button.dart b/packages/pinball_ui/lib/src/widgets/pinball_dpad_button.dart index 863f596d..c122f5b3 100644 --- a/packages/pinball_ui/lib/src/widgets/pinball_dpad_button.dart +++ b/packages/pinball_ui/lib/src/widgets/pinball_dpad_button.dart @@ -53,10 +53,8 @@ class PinballDpadButton extends StatelessWidget { Widget build(BuildContext context) { return Material( color: PinballColors.transparent, - child: InkWell( + child: GestureDetector( onTap: onTap, - splashColor: PinballColors.transparent, - highlightColor: PinballColors.transparent, child: Image.asset( direction.toAsset(), width: 60,