onTap method

void onTap(
  1. void function()
)

Implementation

void onTap(void Function() function) => gestureModel.onTap = function;