debugPaintPointersEnabled top-level property
read / write
Causes objects like RenderPointerListener to flash while they are being tapped. This can be useful to see how large the hit box is, e.g. when debugging buttons that are harder to hit than expected.
For details on how to support this in your RenderBox subclass, see RenderBox.debugHandleEvent.
Implementation
bool debugPaintPointersEnabled = false