unrar_file 1.1.0 copy "unrar_file: ^1.1.0" to clipboard
unrar_file: ^1.1.0 copied to clipboard

flutter wrapper around junrar library for extracting RAR files, in addition to that custom functionality to unrar RAR5(not supported by junrar).

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

8
likes
140
pub points
76%
popularity

Publisher

unverified uploader

flutter wrapper around junrar library for extracting RAR files, in addition to that custom functionality to unrar RAR5(not supported by junrar).

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, path

More

Packages that depend on unrar_file