getInputSelectionStart function

int? getInputSelectionStart(
  1. dynamic input
)

Implementation

int? getInputSelectionStart(input) {
  assert(isInputElement(input));
  return input != null ? input.selectionStart as int: null;
}