showLoading method

Widget showLoading({
  1. required bool isVisible,
})

Implementation

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