startCursorTimer method

void startCursorTimer()

Implementation

void startCursorTimer() {
  _targetCursorVisibility = true;
  _cursorBlinkOpacityController.value = 1.0;

  if (style.opacityAnimates) {
    _cursorTimer =
        Timer.periodic(_kCursorBlinkWaitForStart, _cursorWaitForStart);
  } else {
    _cursorTimer = Timer.periodic(_kCursorBlinkHalfPeriod, _cursorTick);
  }
}