flutter_web_file_saver 2.0.0 copy "flutter_web_file_saver: ^2.0.0" to clipboard
flutter_web_file_saver: ^2.0.0 copied to clipboard

Platformweb

The most comprehensive Flutter web file saver - 25+ methods for text, images, video, audio, ZIP archives, canvas export, batch operations and more!

2.0.0 THE ULTIMATE RELEASE #

MAJOR UPDATE: Now the most comprehensive Flutter web file saver with 25+ methods!

🎉 Power Features Added #

ZIP Archive Support

  • saveAsZip() - Bundle multiple files into a single ZIP archive
    • Perfect for batch exports, project downloads, backup bundles
    • Example: Export all user documents as one ZIP file

Canvas/Screenshot Export

  • saveFromCanvas() - One-line screenshot/canvas export
    • Capture widgets, charts, drawings as images
    • Configurable quality and format
    • Perfect for: Charts, signatures, drawings, dashboards

Batch Operations

  • saveMultipleFiles() - Save multiple files sequentially
    • Progress callbacks for UI updates
    • Automatic delay between downloads
    • Perfect for: Bulk exports, multi-document generation

Utility Methods

  • generateDataUrl() - Create data URLs without downloading
  • generateBlobUrl() - Create blob URLs for embedding
  • saveAsBase64() - Save and get base64 encoding
  • saveTableAsHtml() - Quick HTML table generation
  • saveAuto() - Automatic format detection and saving

📊 Now Supporting #

Total Methods: 25+ (was 15)

  • ✅ Text files (7 methods)
  • ✅ Images (2 methods)
  • ✅ Video (3 methods)
  • ✅ Audio (3 methods)
  • ✅ ZIP archives (1 method)
  • ✅ Canvas/Screenshots (1 method)
  • ✅ Batch operations (1 method)
  • ✅ Utility methods (7 methods)

🎯 Perfect For #

  • Enterprise Apps - Bulk document exports, ZIP archives
  • Design Tools - Canvas export, screenshot capture
  • Analytics Dashboards - Chart exports, multi-format reports
  • Content Creators - Media bundling, batch processing
  • E-Learning - Assignment bundles, resource packages
  • Data Apps - Multi-file exports, archive creation

💡 New Dependencies #

  • Added archive: ^3.6.1 for ZIP support

🔧 Breaking Changes #

None! Fully backward compatible with v1.x

1.1.0 #

  • Added video file support
    • saveVideoUrl() - Save video from URL or data URL
    • saveVideoBlob() - Save video from MediaRecorder blob
    • saveVideo() - Save video from bytes with format detection
  • Added audio file support
    • saveAudioUrl() - Save audio from URL or data URL
    • saveAudioBlob() - Save audio from MediaRecorder blob
    • saveAudio() - Save audio from bytes with format detection
  • Perfect for:
    • Screen recording apps
    • Video/audio editors
    • Media streaming apps
    • Voice note apps
    • Podcast recorders

1.0.0 #

  • Initial release
  • Support for saving text files (.txt, .json, .csv, .html, .xml, .md)
  • Support for saving binary files (PDF, images, archives, etc.)
  • Support for saving images from URLs and data URLs
  • Native browser "Save As" dialog integration
  • Comprehensive MIME type constants
  • Auto-detection of MIME types from file extensions
  • Full documentation and examples
  • Zero external dependencies (only Flutter SDK and package:web)

Features #

  • saveFile() - Save binary data with custom MIME type
  • saveText() - Save text content with encoding options
  • saveJson() - Save JSON data with pretty-print option
  • saveCsv() - Save CSV data with custom delimiter
  • saveHtml() - Save HTML content
  • saveMarkdown() - Save Markdown content
  • saveXml() - Save XML content
  • saveImageUrl() - Save images from URLs or data URLs
  • saveWithAutoDetect() - Auto-detect MIME type from filename
  • MimeTypes - Comprehensive MIME type constants
  • SaveResult - Typed result with success status and error handling
3
likes
140
points
79
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

The most comprehensive Flutter web file saver - 25+ methods for text, images, video, audio, ZIP archives, canvas export, batch operations and more!

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

archive, flutter, flutter_web_plugins, web

More

Packages that depend on flutter_web_file_saver

Packages that implement flutter_web_file_saver