Merge pull request #1832 from abarth/tap_position

Add a position to the onTap callback
This commit is contained in:
Adam Barth
2015-10-27 14:20:35 -07:00
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;
});