updateStyle method

void updateStyle(
  1. TextStyle style
)

Implementation

void updateStyle(TextStyle style) {
  selection = _paragraph.selection ?? selection;
  _paragraph.updateSelectedTextStyle(style);
}