touchFraction property

Offset? get touchFraction

Where the current (or last) touch went down, as a fraction of the key's box (0–1 on both axes; may fall slightly outside for the hit slop); null for presses without a touch point (physical keys, screen readers).

Implementation

Offset? get touchFraction;