closeLoading method
Implementation
Future<void> closeLoading({bool? state}) async {
if (overloadingState == null) {
await 75.wait;
// ignore: invariant_booleans
if (overloadingState == null) return;
}
if (scaffoldIsGoBack.value == true) scaffoldIsGoBack.value = false;
await overloadingState!.close(state: state);
loadingText = '';
loadingVisible.value = false;
await 75.wait;
}