initTimer method

void initTimer()

Implementation

void initTimer() {
  timer = Timer.periodic(const Duration(seconds: 1), (timer) {
    print("LinkRequestPlaceHolderWidget.Timer:$dotCount");
    StringBuffer sb = StringBuffer();
    for (int i = 0; i < dotCount; i++) {
      sb.write(".");
    }
    dotCount++;
    if (dotCount > maxDotCount) {
      dotCount = minDotCount;
    }
    dotText.value = sb.toString();
  });
}