setFill method

void setFill(
  1. bool fill
)

Sets whether the current mode should fill the shape and notifies listeners.

Implementation

void setFill(bool fill) {
  _fill = fill;
  notifyListeners();
}