registerOnCursorSelectionUpdatedPath method

void registerOnCursorSelectionUpdatedPath(
  1. CursorSelectionCallback<Path>? cursorSelectionPathCallback
)

This is called by the map view when the cursor is over a path

Parameters

  • IN selectedItem the path selected

Implementation

void registerOnCursorSelectionUpdatedPath(
  final CursorSelectionCallback<Path>? cursorSelectionPathCallback,
) {
  _cursorSelectionCallbackPath = cursorSelectionPathCallback;

  GemKitPlatform.instance.filterEvent(
    pointerId,
    'onCursorSelectionPath',
    cursorSelectionPathCallback == null,
  );
}