setFill method
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);
}