setRotationSpeed method

void setRotationSpeed(
  1. double rotationSpeed
)

Sets the rotation speed of the globe.

The rotationSpeed parameter specifies the new rotation speed of the globe.

Example usage:

FlutterEarthGlobeController controller = FlutterEarthGlobeController();
controller.setRotationSpeed(0.5);

Implementation

void setRotationSpeed(double rotationSpeed) {
  this.rotationSpeed = rotationSpeed;
  notifyListeners();
}