Merge pull request #1832 from abarth/tap_position
Add a position to the onTap callback
This commit is contained in:
@@ -169,7 +169,7 @@ class TextureButtonState extends State<TextureButton> {
|
||||
)
|
||||
)
|
||||
),
|
||||
onTapDown: () {
|
||||
onTapDown: (_) {
|
||||
setState(() {
|
||||
_highlight = true;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user