getFontFullPath method

String getFontFullPath(
  1. Directory fontsDir,
  2. int pageIndex
)

Implementation

String getFontFullPath(Directory fontsDir, int pageIndex) => isPhones
    ? '${fontsDir.path}/qcf4_woff/qcf4_woff/QCF4${((pageIndex + 1).toString().padLeft(3, '0'))}_X-Regular.woff'
    : '${fontsDir.path}/qcf4_ttf/qcf4_ttf/QCF4${((pageIndex + 1).toString().padLeft(3, '0'))}_X-Regular.ttf';