fix: change tap are on PinballButton

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

@ -21,17 +21,17 @@ class PinballButton extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return InkWell( return DecoratedBox(
onTap: _onPressed, decoration: BoxDecoration(
child: DecoratedBox( image: DecorationImage(
decoration: BoxDecoration( image: AssetImage(
image: DecorationImage( Assets.images.selectCharacter.pinballButton.keyName,
image: AssetImage(
Assets.images.selectCharacter.pinballButton.keyName,
),
), ),
), ),
child: Center( ),
child: Center(
child: InkWell(
onTap: _onPressed,
child: Padding( child: Padding(
padding: const EdgeInsets.symmetric( padding: const EdgeInsets.symmetric(
horizontal: 32, horizontal: 32,

Loading…
Cancel
Save