flutter_minizip_ffi_bindings 0.3.0 copy "flutter_minizip_ffi_bindings: ^0.3.0" to clipboard
flutter_minizip_ffi_bindings: ^0.3.0 copied to clipboard

FFI bindings for [zlib-ng/minizip-ng](https://github.com/zlib-ng/minizip-ng) made using [dart-lang/ffigen](https://github.com/dart-lang/ffigen) and trivial trick.

flutter_minizip_ffi_bindings #

FFI bindings for zlib-ng/minizip-ng made using dart-lang/ffigen and trivial trick.

Notes #

This package does not include binary library of minizip.

Build your libminizip and add to your app project or example project.

Run example on Android #

  • Build your android libminizip
  • Copy built libminizip.so into example/android/app/src/main/jniLibs/
example/android/app/src/main/jniLibs/
├── arm64-v8a
│   └── libminizip.so
├── armeabi-v7a
│   └── libminizip.so
├── x86
│   └── libminizip.so
└── x86_64
    └── libminizip.so
  • cd example && flutter run

Run example on iOS #

  • Build your iOS libminizip
  • Copy built libminizip.3.0.dylib and include/ into example/ios/Runner/minizip/
example/ios/Runner/minizip/
├── include
│   ├── mz.h
│   ...
│   └── mz_zip_rw.h
└── libminizip.3.0.dylib
  • cd example && flutter run

Using this package with your app project #

  • Add this package as dev_dependency in your pubspec.yaml
  • Build your libminizip and add libminizip to your app's native project
  • import 'package:flutter_minizip_ffi_bindings/flutter_minizip_ffi_bindings.dart';
3
likes
130
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

FFI bindings for [zlib-ng/minizip-ng](https://github.com/zlib-ng/minizip-ng) made using [dart-lang/ffigen](https://github.com/dart-lang/ffigen) and trivial trick.

Repository (GitLab)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

ffi, flutter

More

Packages that depend on flutter_minizip_ffi_bindings