Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeffigen

Generator for FFI bindings, using LibClang to parse C, Objective-C, and Swift files.

pub.devRemove
objective_c

Support library for accessing Objective C via ffigen in Flutter

pub.devRemove
ScoresHealth9090
Maintenance9298 (best)
Quality9496 (best)
Popularity85 (best)71
Community8080
Compatibility100100
UsageDownloads (30 days)1.1M9.9M (best)
Likes340 (best)18
Pub points160 / 160 (best)150 / 160
GitHub stars281281
MaintenanceLatest release23.0.0, 7 weeks ago9.6.4, 10 days ago (best)
Major versions in 12 months20 (best)
Contributors100+100+
Publishertools.dart.devdart.dev
FitPlatformsAndroid, iOS, Windows, macOS, LinuxAndroid, iOS, Windows, macOS, Linux
WASM-readyNoNo
KindFFI (native library)FFI (native library)
Code generationNoNo
Direct dependencies187 (best)
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortHighLow
JudgementStrengths
  • Automates generating complex Dart FFI bindings from native headers.
  • Supports C, Objective-C, and experimental C++ features.
  • Integrates tightly with ffigen
  • Offers memory‑management helpers (retain/release)
  • Performance improvements for stream and data conversion
Weaknesses
  • Requires LLVM and LibClang installed on the host system to run.
  • YAML configuration format is deprecated in favor of the programmatic Dart API.
  • Not useful on its own
  • Limited to platforms that support Objective C (iOS, macOS, Windows, Linux, Android)
  • Requires native build steps
WarningsNoneNone
ffigen vs objective_c: which Flutter package should you use? | pubscout