获取当前文件大小
static Future<double> getTotalSizeOfFilesInDir(dynamic file) async { // Web 平台不支持文件系统操作 return 0; }