FLUTTER ECOSYSTEM

archive

Provides encoders and decoders for various archive and compression formats such as zip, tar, bzip2, gzip, and zlib.

Latest version
4.0.9
30-day downloads
8.8M
Likes
893
Pub points
150

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

The archive package provides efficient encoders and decoders for multiple archive and compression formats including ZIP, TAR, BZIP2, GZIP, and ZLIB. It enables Flutter applications to read, write, and manipulate compressed files across all major platforms—Android, iOS, Web, macOS, Windows, and Linux. Ideal for handling file bundles, backups, or data transmission with reduced size, it supports both streaming and in-memory operations. The package is lightweight, well-documented, and integrates seamlessly into Flutter projects via pub.dev.

Use cases
  • Handling ZIP file extraction and creation
  • Compressing app data for storage
  • Streaming compressed file processing
  • Cross-platform archive manipulation
  • Backup and restore functionality
Key features
  • Supports ZIP, TAR, GZIP, BZIP2, and ZLIB
  • Cross-platform compatibility
  • Stream-based and in-memory operations
  • Lightweight and fast performance
  • Simple API for encoding and decoding
Suitable for
  • Developers needing file compression utilities
  • Apps requiring archive handling on multiple platforms
  • Data packaging and transfer scenarios
  • Offline data storage optimization
Considerations
  • Limited to standard compression formats
  • No built-in GUI for archive management
  • Requires careful memory handling with large files
  • Not designed for real-time streaming of massive archives
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add archive

Categories

Source repository

Related projects