Widget showLoading({required bool isVisible}) { if (isVisible) { return UIUtils.getLoadingWidget(); } else { return this; } }