infusion_ffi 1.3.5 copy "infusion_ffi: ^1.3.5" to clipboard
infusion_ffi: ^1.3.5 copied to clipboard

Public Flutter FFI plugin for Infusion (core closed-source). Mobile uses prebuilt AAR/Pod; desktop downloads prebuilt binaries from GitHub Releases.

infusion_ffi #

Public Flutter FFI plugin for Infusion without Rust sources.

  • Android: downloads prebuilt AAR from GitHub Releases v1.0.0
  • iOS: downloads prebuilt .xcframework from GitHub Releases v1.0.0 during pod install
  • Desktop: downloads prebuilt binaries from GitHub Releases v1.0.0 on first use

Core code remains private. This repository exposes only the public Dart/Flutter wrapper and minimal platform glue.

Usage #

dependencies:
  infusion_ffi: ^1.0.0

On desktop, ensure releases host platform binaries named:

  • macOS: libinfusion_ffi.dylib
  • Linux: libinfusion_ffi.so
  • Windows: infusion_ffi.dll

API #

Import and call the loader before FFI symbol lookups:

import 'package:infusion_ffi/infusion_ffi.dart';

final lib = await InfusionLoader.load();

Testing / Local Development #

If the automatic library loader fails (e.g. during flutter test), you must manually specify the path to the shared library using the INFUSION_LIB_PATH environment variable:

export INFUSION_LIB_PATH=/path/to/libinfusion_ffi.dylib  # or .so / .dll
flutter test
0
likes
0
points
1.09k
downloads

Publisher

unverified uploader

Weekly Downloads

Public Flutter FFI plugin for Infusion (core closed-source). Mobile uses prebuilt AAR/Pod; desktop downloads prebuilt binaries from GitHub Releases.

Homepage

License

unknown (license)

Dependencies

ffi, flutter, path

More

Packages that depend on infusion_ffi

Packages that implement infusion_ffi