rotateSun method

void rotateSun()

Implementation

void rotateSun() {
  _sunRotateTimer = Timer(Duration(milliseconds: 10), () {
    setState(() {
      _sunRotateValue += 2;
      rotateSun();
    });
  });
}