showLoading method

dynamic showLoading({
  1. bool hasBlurBackground = true,
  2. dynamic message,
})

Fire LoadingEvent which BaseView will listen and show Loading Screen

Implementation

showLoading({bool hasBlurBackground = true, dynamic message}) {
  _addToEvent(LoadingEvent(
      isLoading: true,
      hasBlurBackground: hasBlurBackground,
      message: message));
}