startCursorTimer method

void startCursorTimer()

Implementation

void startCursorTimer() {
  if (_isDisposed) {
    return;
  }

  _targetCursorVisibility = true;
  _blinkOpacityController.value = 1.0;

  if (style.opacityAnimates) {
    _cursorTimer = Timer.periodic(_blinkWaitForStart, _waitForStart);
  } else {
    _cursorTimer = Timer.periodic(_blinkHalfPeriod, _cursorTick);
  }
}