onTap property

void Function(Offset)? onTap
getter/setter pair

Called when the user taps the content and Readium handled nothing internally — no hyperlink, no footnote, no interactive element.

The position is in logical pixels, relative to the top-left of the platform view. Senders on Android must divide MotionEvent coordinates by displayMetrics.density before posting them.

Implementation

void Function(Offset)? onTap;