获取缓存目录路径
static Future<String> getCacheDirectoryPath() async { final Directory cacheDir = await getTemporaryDirectory(); return cacheDir.path; }