MouseCursorResolver<R extends BaseTouchResponse> typedef

MouseCursorResolver<R extends BaseTouchResponse> = MouseCursor Function(FlTouchEvent, R?)

It gives you the happened FlTouchEvent and existed R data at the event's location, then you should provide a MouseCursor to change the cursor at the event's location. For example you can pass the SystemMouseCursors.click to change the mouse cursor to click.

Implementation

typedef MouseCursorResolver<R extends BaseTouchResponse> = MouseCursor Function(
  FlTouchEvent,
  R?,
);