FLUTTER ECOSYSTEM

flutter_archive

Create and extract ZIP archive files in Android, iOS and macOS. Zip all files in a directory recursively or a given list of files.

Latest version
6.3.1
30-day downloads
43.3K
Likes
171
Pub points
160

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

flutter_archive is a Flutter package that enables creating and extracting ZIP archive files on Android, iOS, and macOS. It supports recursively zipping all files within a directory or a specified list of files. The package provides a straightforward API for handling compressed file operations, making it ideal for apps needing to bundle or decompress data. It integrates seamlessly with Flutter's ecosystem and is suitable for file management tasks involving archives.

Use cases
  • Exporting app data as ZIP
  • Backing up user files
  • Downloading and extracting compressed content
  • Sharing multiple files via ZIP
  • Handling app resource bundles
Key features
  • Supports ZIP creation and extraction
  • Recursive directory compression
  • Cross-platform compatibility (Android, iOS, macOS)
  • Simple API for file lists and directories
  • Lightweight and efficient
Suitable for
  • Apps requiring file archiving
  • Data export features
  • Offline file management
  • Backup and restore functionality
  • Mobile app developers targeting iOS and Android
Considerations
  • Requires platform-specific permissions for file access
  • Limited to ZIP format only
  • No built-in encryption support
  • File size limits depend on device memory
  • Not optimized for very large archives
Supported platformsAndroidiOSmacOS

Install package

flutter pub add flutter_archive

Categories

Source repository

Related projects