setLoading method
Sets the loading state of the widget. Notifies listeners after updating the state.
Implementation
void setLoading(bool isLoading) {
this.isLoading = isLoading;
notifyListeners();
}
Sets the loading state of the widget. Notifies listeners after updating the state.
void setLoading(bool isLoading) {
this.isLoading = isLoading;
notifyListeners();
}