stopRotation method

void stopRotation()

Stops the rotation of the globe.

Example usage:

FlutterEarthGlobeController controller = FlutterEarthGlobeController();
controller.stopRotation();

Implementation

void stopRotation() {
  _isRotating = false;
  rotationController.stop();
  notifyListeners();
}