
Dart Setup Ffi Assets
by flutter0ef3972f93e2No license3K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 2 days ago
Guides agents in compiling and packaging C/C++ source code into dynamic or static libraries (Code Assets) using Dart's Native Assets hook system (via hook/build.dart and hook/link.dart utilizing package:hooks and package:native_toolchain_c). Use when a user asks to: 'setup native assets', 'compile C/C++ source code', 'bundle dynamic libraries', 'build native C code', 'link native assets', 'implement build.dart or link.dart hooks', or 'integrate C/C++ interop in Dart/Flutter'. Helps agents avoid manual toolchain orchestration and configures secure hash-validated binary downloads or advanced linker tree-shaking with package:record_use mapping.
Add to a SourceWeft workspace
- Open the skill in your dashboard and add it to a workspace.
- Enable it for the chats that should use it.
This skill is instructions only: it ships no scripts to execute.
Add to SourceWeftYou will be asked to sign in first, then taken straight to this skill.
Ask your agent to install it
Paste this prompt into Claude Code, Codex, Cursor or another agent that can run commands — or into SourceWeft chat. The agent reads this skill's install guide, shows you its source, license and scripts, and installs it with the SourceWeft CLI once you agree.
Read https://sourceweft.com/skills/gh-flutter-agent-plugins-dart-setup-ffi-assets/install.md and install the skill it describes. Before installing, show me its source, license and whether it ships scripts, and wait for my OK. Ask me before changing anything else on my machine.Install it yourself from a terminal
For Claude Code, Codex, Cursor and other local agents. The SourceWeft CLI fetches the skill from its source repository at the commit scanned here, and verifies every file against the hashes recorded when the skill was scanned. If anything differs, nothing is written.
npx @sourceweft/cli skills install gh-flutter-agent-plugins-dart-setup-ffi-assetsAdd --agent claude-code, codex, cursor or universal to choose which agent gets it (Claude Code by default).
Upstream installer — not verified by SourceWeft
The open-source skills installer fetches the same pinned commit, but does not check the files against the hashes SourceWeft recorded.
npx skills add https://github.com/flutter/agent-plugins/tree/0ef3972f93e2baa4156ba1cbb1e515cd53079c68/skills/dart-setup-ffi-assetsSource and attribution
Source:flutter/agent-pluginsinskills/dart-setup-ffi-assetsat commit0ef3972
License: No license
Content belongs to its original authors. SourceWeft indexes it from a public repository.
More from flutter/agent-plugins

Flutter Use Http Package
flutter
Guides Flutter developers through using the http package for REST API requests, JSON parsing, and UI integration.

Flutter Setup Localization
flutter
Sets up Flutter app localization by adding packages, enabling code generation, and configuring ARB files.

Flutter Setup Declarative Routing
flutter
Guides Flutter developers through declarative routing and deep linking setup with go_router.

Flutter Fix Layout Issues
flutter
Diagnoses and fixes Flutter layout errors such as overflow and unbounded constraints using widget wrapping patterns.

Flutter Build Responsive Layout
flutter
Guides Flutter developers in building responsive layouts that adapt to different screen and window sizes.

Flutter Apply Architecture Best Practices
flutter
Guides Flutter app architecture using layered UI, Logic and Data separation with MVVM and repositories.
More in Software Development

Playground
anthropics
Builds self-contained interactive HTML playgrounds with controls, live preview, and copyable prompt output.

M5 Onboard
anthropics
Provisions M5Stack ESP32 boards by detecting them on USB, flashing UIFlow 2.0 firmware, and installing a MicroPython app bundle.

Cardputer Buddy
anthropics
Guides iterating on a Cardputer-Adv MicroPython app bundle: adding apps, pushing files over USB-serial, tailing logs, and running REPL commands.

Testing Strategy
anthropics
Designs test strategies and test plans, covering test types, coverage targets, and example test cases.

Tech Debt
anthropics
Identifies, categorizes, and prioritizes technical debt, producing a scored backlog and phased remediation plan.

System Design
anthropics
Guides system and architecture design through requirements, high-level design, deep dives, scaling, and trade-off analysis.