验证是否为 PDF 文档名(.pdf)。
static bool isPdf(String? s) => s != null && s.isNotEmpty && _pdfRegExp.hasMatch(s);