getFontName method

String getFontName(
  1. PrinterTextStyle style
)

获取字体名称

fontType 字体类型

Implementation

String getFontName(PrinterTextStyle style) {
  return _fontMap[style.fontType!]!.fontName;
}