downloadFileBytes function

void downloadFileBytes(
  1. Uint8List bytes,
  2. String filename,
  3. String mimeType
)

Stub for non-web platforms — will use path_provider + share later.

Implementation

void downloadFileBytes(Uint8List bytes, String filename, String mimeType) {
  // TODO: Implement for mobile using path_provider + share/open
  throw UnsupportedError('File download not yet implemented for this platform');
}