stopLoading static method
void
stopLoading()
Stop the Loading Spinner
Implementation
static void stopLoading() {
if (_loadingTimer != null) {
// Cancel the spinner timer
_loadingTimer!.cancel();
_loadingTimer = null;
// Clear the line after stopping
stdout.write('\r \r');
}
}