onTapDown method
Handles the tap down event by changing the background color to pressedColor.
Implementation
@override
void onTapDown(TapDownEvent event) {
background.paint.color = pressedColor;
}
Handles the tap down event by changing the background color to pressedColor.
@override
void onTapDown(TapDownEvent event) {
background.paint.color = pressedColor;
}