downloadPdfBytes function

void downloadPdfBytes(
  1. Uint8List bytes,
  2. String filename
)

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

Implementation

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