changeOnErrorState method
Changes the error state to state
and notifies listeners.
Implementation
void changeOnErrorState(final bool state) {
onError = state;
if(state) _imageData = null;
notifyListeners();
}
Changes the error state to state
and notifies listeners.
void changeOnErrorState(final bool state) {
onError = state;
if(state) _imageData = null;
notifyListeners();
}