Skip to content

A RAR extractor for Flutter. Wrapped around Junrar + rar5 support.

License

Notifications You must be signed in to change notification settings

ikramuldu/unrar_file

 
 

Repository files navigation

unrar_file

flutter wrapper around junrar library for extracting RAR files.

It additionally supports RAR5 which junrar don't.

Usage

  Future<void> extract_file(input_file_path,destination_path, {password=""}) async {
    // Extraction may fail, so we use a try/catch PlatformException.
    try {
      await UnrarFile.extract_rar(input_file_path,  destination_path, password: password);
    } catch(e) {
      print("extraction failed $e");
    }
    return;
  }

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Apache-2.0 License

About

A RAR extractor for Flutter. Wrapped around Junrar + rar5 support.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 56.6%
  • HTML 14.6%
  • Java 12.9%
  • Ruby 8.2%
  • Objective-C 6.1%
  • Swift 1.6%