fix: change tap are on PinballButton

pull/252/head
arturplaczek 3 years ago
parent 3a628e6d0a
commit 774fdf980d

@ -21,9 +21,7 @@ class PinballButton extends StatelessWidget {
@override
Widget build(BuildContext context) {
return InkWell(
onTap: _onPressed,
child: DecoratedBox(
return DecoratedBox(
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage(
@ -32,6 +30,8 @@ class PinballButton extends StatelessWidget {
),
),
child: Center(
child: InkWell(
onTap: _onPressed,
child: Padding(
padding: const EdgeInsets.symmetric(
horizontal: 32,

Loading…
Cancel
Save