registerOnCursorSelectionUpdatedPath method
void
registerOnCursorSelectionUpdatedPath(
- CursorSelectionCallback<
Path> ? cursorSelectionPathCallback
Registers for cursor-hover path selections.
Invoked when the cursor hovers over a vector path.
Parameters
- Receives the selected path. Pass
nullto unregister.
Also see:
- setCursorScreenPosition - Move the cursor programmatically to a desired screen position.
Implementation
void registerOnCursorSelectionUpdatedPath(
final CursorSelectionCallback<Path>? cursorSelectionPathCallback,
) {
_cursorSelectionCallbackPath = cursorSelectionPathCallback;
GemKitPlatform.instance.filterEvent(
pointerId,
'onCursorSelectionPath',
cursorSelectionPathCallback == null,
);
}