setFont method

TextStyle setFont(
  1. String customFont
)

设置自定义字体

Implementation

TextStyle setFont(String customFont) {
  textFormat.customFont = customFont;
  return this;
}