modify method

void modify(
  1. String newText,
  2. double newSize,
  3. bool newWeight,
  4. Color newColor,
  5. Color newBackgroundColor,
)

change the outlook of the widgeton the fly

Implementation

void modify(String newText, double newSize, bool newWeight, Color newColor, Color newBackgroundColor) {
  widgetState.modifyWidget(newText, newSize, newWeight, newColor, newBackgroundColor);
}