static Future<bool> isExistFile(String filePath) async { if (!isFile(filePath)) return false; File file = File(filePath); return file.exists(); }