Create a button with an image in Flutter?
My opinion, the easier way and also most versatile is to use GestureDetector as it allows you to call different functions for different gestures like one tap, double-tap, long tap and so on.
GestureDetector( onTap: () => _yourFunction('yourParameter'), child: Image.asset('yourimagefolder/yourimage.png'), ),