setCursorPosition method
Sets cursor position in the specified block using 0-based document offset.
Implementation
void setCursorPosition(int blockIndex, int docOffset, {int? row, int? col}) {
_editorWidgetState?.setCursorPosition(blockIndex, docOffset,
row: row, col: col);
}