Add a position to the onTap callback

Fixes #1807
This commit is contained in:
Adam Barth
2015-10-27 13:28:04 -07:00
parent e77cad81c1
commit 2225405fad
4 changed files with 60 additions and 38 deletions

View File

@@ -169,7 +169,7 @@ class TextureButtonState extends State<TextureButton> {
)
)
),
onTapDown: () {
onTapDown: (_) {
setState(() {
_highlight = true;
});