startUpdateLoop method

Timer? startUpdateLoop([
  1. Duration? wait
])

Implementation

Timer? startUpdateLoop([
  Duration? wait,
]) {
  wait ??= const Duration(seconds: 2);
  return _updateTimer = Timer.periodic(
    wait,
    (final timer) => draw(),
  );
}