getInsertionPoint method

int getInsertionPoint()

Returns position of insertion point (cursor)

Implementation

int getInsertionPoint() {
  return _textEditingController.selection.base.offset;
}