modify method

void modify(
  1. Color newColor
)

change the outlook of the widgeton the fly

Implementation

void modify(Color newColor) {
  widgetState.modifyWidget(newColor);
}