validForMouseTracker property Null safety

bool validForMouseTracker

Whether this is included when MouseTracker collects the list of annotations.

If validForMouseTracker is false, this object is excluded from the current annotation list even if it's included in the hit test, affecting mouse-related behavior such as enter events, exit events, and mouse cursors. The validForMouseTracker does not affect hit testing.

The validForMouseTracker is true for MouseTrackerAnnotations built by the constructor.


bool get validForMouseTracker => true;