Se o diretório existir vibrar
String path = 'your/path';
bool directoryExists = await Directory(path).exists();
bool fileExists = await File(path).exists();
if(directoryExists || fileExists) {
// do stuff
}
loonix