toggleFillShape method

void toggleFillShape()

Toggles whether shapes should be filled.

When enabled, shapes will be filled with the current stroke color.

Implementation

void toggleFillShape() {
  fillShapeListenable.value = !fillShapeListenable.value;
}