onPointerDown method

void onPointerDown()

Implementation

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