moveCursorTo abstract method

void moveCursorTo(
  1. Vec2D translation, {
  2. bool select = false,
})

Moves the cursor to a local translation relative to the RawTextInput, if select is true the end position of the cursor is moved while keeping the start in place creating a range selection.

Implementation

void moveCursorTo(Vec2D translation, {bool select = false});