fileExists static method

Future<bool> fileExists(
  1. String filePath
)

Checks if a file exists at the given path.

Returns true if the file exists, false otherwise.

Implementation

static Future<bool> fileExists(String filePath) async {
  if (kIsWeb) return false; // Web implementation would check IndexedDB
  return await _instance.fileExists(filePath);
}