I am working on a simple game using Flame and Flutter. I am following this tutorial: Create a Mobile Game with Flutter and Flame – Beginner Tutorial
But after I added some code following tutorial line:
flameUtil.addGestureRecognizer(tapper);
appears underlined and onTap function is not working.