shouldFill property

bool shouldFill

Determines whether the shape should be filled based on the paint mode.

Implementation

bool get shouldFill {
  if (mode == PaintModeE.circle || mode == PaintModeE.rect) {
    return fill;
  } else {
    return false;
  }
}