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