Lightlines
By dart-lang

dart-setup-ffi-assets

dart-lang10.5k installs

Bundle native C/C++ libraries into your Dart app.

What it does

Guides the creation of Dart build and link hooks that compile and package native C/C++ libraries.

When to use it

Use when setting up native assets, compiling or bundling native libraries, implementing hooks, or integrating C/C++ interop in Dart/Flutter.

How to use it

Give it a Dart package and a native-library integration request; it creates build and link hooks in the project.

What you provide

  • An existing project

Uses

Latest review

What you need · 4

Requires Dart to run the package's tests and exercise the native-assets hooks.

For the recommended local-compilation workflow on macOS, requires preinstalled Xcode Command Line Tools.

For the recommended local-compilation workflow on Linux, requires GCC or Clang.


Access · 1

This skill

pub.dev

Read

Fetches packages from pub.dev