onTap method

void onTap()

Implementation

void onTap() {
  isEnable = !isEnable;
  update();
}