handleToggleFill method
Handles the toggle fill event.
This method calls the onToggleFill callback with the provided fill
and then calls handleUpdateUI.
Implementation
void handleToggleFill(bool fill) {
onToggleFill?.call(fill);
handleUpdateUI();
}