onPointerDown method

void onPointerDown()

Implementation

void onPointerDown() {
  setState(() {
    tapped = true;
  });
}