setFill method

void setFill(
  1. bool fill
)

Sets the fill mode for drawing elements. When the fill parameter is true, drawing elements will be filled; otherwise, they will be outlined.

Implementation

void setFill(bool fill) {
  _paintCtrl.setFill(fill);
  _uiAppbarIconsStream.add(null);
  paintEditorCallbacks?.handleToggleFill(fill);
}