setInProgress method

void setInProgress(
  1. bool val
)

Sets the painting progress state and notifies listeners.

  • val: The boolean value indicating the painting progress state.

Implementation

void setInProgress(bool val) {
  _paintInProgress = val;
  notifyListeners();
}