iOSHorizontalOffset top-level constant
int
const iOSHorizontalOffset
An eyeballed value that moves the cursor slightly left of where it is rendered for text on Android so its positioning more accurately matches the native iOS text cursor positioning.
This value is in device pixels, not logical pixels as is typically used throughout the codebase.
Implementation
const int iOSHorizontalOffset = -2;