useSturtStyle method

void useSturtStyle(
  1. NikuStrutStyle v(
    1. NikuStrutStyle
    )
)

Implementation

void useSturtStyle(NikuStrutStyle Function(NikuStrutStyle) v) {
  if (strutStyle == null) strutStyle = NikuStrutStyle();

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