isRotateSun property

set isRotateSun (bool value)

Implementation

set isRotateSun(bool value) {
  if (_isRotateSun != value) {
    _isRotateSun = value;
    if (_isRotateSun) {
      _sunRotateValue = _pulledExtent;
      rotateSun();
    } else {
      if (_sunRotateTimer != null) {
        _sunRotateTimer!.cancel();
      }
    }
  }
}