How to execute a function in Flutter when I touch a button, instead of releasing it
I am in the process of learning Flutter and have built a simple xylophone app. It works just fine, but I noticed that it only plays the sounds when I release my finger from the key. If I touch the…