Open KarthikeyanPegasus opened 2 weeks ago
timer = Timer.periodic(const Duration(milliseconds: 10), (Timer p) { earthController.setZoom(earthController.zoom + 0.1); if (earthController.zoom >= 3) { p.cancel(); } });
when i tried this, i am getting
Exception has occurred. IndexError (RangeError (index): Index out of range: index should be less than 306936: 307227)
From This Function:
Future<SphereImage?> buildSphere(double maxWidth, double maxHeight) async { ... ... spherePixels[(sphereY + x - minX).toInt()] = color; }
@KarthikeyanPegasus Hmm that's a strange behavior indeed. I'll have a look at it asap.
when i tried this, i am getting
From This Function: