获取app缓存路径
static Future<String?> getCachePath() async { final directory = await getTemporaryDirectory(); return directory.path; }