setTextStyle method

void setTextStyle(
  1. TextStyle style
)

Update the current text style.

Implementation

void setTextStyle(TextStyle style) {
  setState(() {
    selectedTextStyle = style;
    textEditorCallbacks?.handleUpdateUI();
  });
}