redraw method

void redraw(
  1. Color? color
)

Update the TextStyle.color to the passed color

Implementation

void redraw(Color? color) {
  _style = _style.copyWith(color: color);
  notifyListeners();
}