removeImage method

void removeImage(
  1. ImageBox imageBox
)

Remove an image from the current page

Implementation

void removeImage(ImageBox imageBox) {
  _imageBoxes[_currentPage]?.remove(imageBox);
  _history[_currentPage]!.add(ImageAction(imageBox, isAdd: false));
  notifyListeners();
}