stopCursorTimer method

void stopCursorTimer({
  1. bool resetCharTicks = true,
})

Implementation

void stopCursorTimer({bool resetCharTicks = true}) {
  _cursorTimer?.cancel();
  _cursorTimer = null;
  _targetCursorVisibility = false;
  _blinkOpacityController.value = 0.0;

  if (style.opacityAnimates) {
    _blinkOpacityController
      ..stop()
      ..value = 0.0;
  }
}