loading method
Implementation
loading(Future f) async {
showLoading();
try {
return await f;
} finally {
hideLoading();
}
}
loading(Future f) async {
showLoading();
try {
return await f;
} finally {
hideLoading();
}
}