Si le répertoire existe flottant

String path = 'your/path';
bool directoryExists = await Directory(path).exists();
bool fileExists = await File(path).exists();
if(directoryExists || fileExists) {
	// do stuff
}
loonix