setSphereStyle method

void setSphereStyle(
  1. SphereStyle style
)

Sets the style of the rotating globe's sphere.

The style parameter specifies the new style for the sphere.

Example usage:

FlutterEarthGlobeController controller = FlutterEarthGlobeController();
controller.setSphereStyle(SphereStyle(color: Colors.blue, radius: 100));

Implementation

void setSphereStyle(SphereStyle style) {
  sphereStyle = style;
  notifyListeners();
}