removeImage method

void removeImage()

Removes the currently loaded image and resets error state.

Implementation

void removeImage() {
  _imageData = null;
  changeOnErrorState(false);
  notifyListeners();
}