hideLoading method

void hideLoading({
  1. bool animation = true,
})

Implementation

void hideLoading({bool animation = true}) {
  _animation = animation;
  _isLoading = false;
  notifyListeners();
}