|
|
@ -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,
|
|
|
|