useStyle method

void useStyle(
  1. NikuTextStyle v(
    1. NikuTextStyle
    )
)

Implementation

void useStyle(NikuTextStyle Function(NikuTextStyle) v) {
  if (titleTextStyle == null) titleTextStyle = NikuTextStyle();

  titleTextStyle?.apply = v(titleTextStyle!);
}