flutter_web_file_saver 2.0.0
flutter_web_file_saver: ^2.0.0 copied to clipboard
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 downloadinggenerateBlobUrl()- Create blob URLs for embeddingsaveAsBase64()- Save and get base64 encodingsaveTableAsHtml()- Quick HTML table generationsaveAuto()- 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.1for 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 URLsaveVideoBlob()- Save video from MediaRecorder blobsaveVideo()- Save video from bytes with format detection
- Added audio file support
saveAudioUrl()- Save audio from URL or data URLsaveAudioBlob()- Save audio from MediaRecorder blobsaveAudio()- 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 typesaveText()- Save text content with encoding optionssaveJson()- Save JSON data with pretty-print optionsaveCsv()- Save CSV data with custom delimitersaveHtml()- Save HTML contentsaveMarkdown()- Save Markdown contentsaveXml()- Save XML contentsaveImageUrl()- Save images from URLs or data URLssaveWithAutoDetect()- Auto-detect MIME type from filenameMimeTypes- Comprehensive MIME type constantsSaveResult- Typed result with success status and error handling
