This Flutter project provides the supporting code for the tutorial First steps with Flutter: Responding to user input. Check it out for more details.
If you don't have the Flutter development environment set up, you can find the directions to do that on the Flutter site. After that you can clone this repository and run it in Android Studio or Visual Studio Code.