MouseTrackerAnnotation constructor

const MouseTrackerAnnotation({
  1. PointerEnterEventListener? onEnter,
  2. PointerExitEventListener? onExit,
  3. MouseCursor cursor = MouseCursor.defer,
  4. bool validForMouseTracker = true,
})

Creates an immutable MouseTrackerAnnotation.

Implementation

const MouseTrackerAnnotation({
  this.onEnter,
  this.onExit,
  this.cursor = MouseCursor.defer,
  this.validForMouseTracker = true,
});