ネイティブ
ネイティブ相互運用および外部関数インターフェースに関連するDartパッケージ。他のプログラミング言語のバインディングを生成するためのコードジェネレーターと、ネイティブコードをバンドルするためのフックシステムに関連するパッケージを含みます。
- スター
- 274
- フォーク
- 147
- 最終プッシュ(UTC)
- 2026/09/18
- プロジェクト状態
- 公開中
元の README
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
Overview
This repository is home to Dart packages related to FFI and native assets building and bundling.
Documentation
See the doc directory for more documentation.
Packages
| Package | Description | Issues | Version |
|---|---|---|---|
| code_assets | This package contains the Dart API for code assets in hook/build.dart and hook/link.dart. |
||
| data_assets | This package contains the Dart API for data assets in hook/build.dart and hook/link.dart. |
||
| ffi | Utilities for working with Foreign Function Interface (FFI) code. | ||
| ffigen | Generator for FFI bindings, using LibClang to parse C, Objective-C, and Swift files. | ||
| hooks | This package contains the API for hook/build.dart and hook/link.dart. |
||
| hooks_runner | This package is the backend that invokes hook/build.dart and hook/link.dart from Dart and Flutter. |
||
| jni | A library to access JNI from Dart and Flutter that acts as a support library for package:jnigen. | ||
| jni_flutter | A library to access Flutter Android specific APIs from Dart. | ||
| jni_util | A library to access Flutter Android specific APIs from Dart. | ||
| jnigen | A Dart bindings generator for Java and Kotlin that uses JNI under the hood to interop with Java virtual machine. | ||
| native_toolchain_c | A library to invoke the native C compiler installed on the host machine. | ||
| objective_c | A library to access Objective C from Flutter that acts as a support library for package:ffigen. | ||
| record_use | Dart API to access @RecordUse() recorded usages in link hooks. |
||
| swift2objc | A tool for generating bindings that allow interop between Dart and Swift code. | ||
| swiftgen | A tool for generating bindings that allow interop between Dart and Swift code. |
External packages
Packages not on this repo but also related to FFI and native assets. ❤️
| Package | Description | Version |
|---|---|---|
| native_toolchain_cmake | A library to invoke CMake for Dart Native Assets. | |
| native_toolchain_go | A library to invoke the native Go compiler installed on the host machine. | |
| native_toolchain_ninja | A library to invoke Ninja for Dart Native Assets. | |
| native_toolchain_rust | A library to build and bundle Rust code for Dart Native Assets. | |
| native_toolchain_zig | A library to build and bundle Zig code for Dart Native Assets. |
Publishing automation
For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.
For additional information about contributing, see our contributing page.
言語DartCJavaObjective-CKotlinSwiftC++CMakeRubyNixRustLinker Script
使用している依存関係
依存関係一覧 5 件
- args開発用
^2.7.0 - dart_flutter_team_lints開発用
^3.5.2 - dependency_validator開発用
^5.1.0 - path開発用
^1.9.1 - yaml開発用
^3.1.3
プロジェクトに合うリポジトリを選ぶには?
用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
- 名前・作者・説明で検索し、技術トピックで絞り込みます。
- スター、フォーク、最近のプッシュを比較します。スターは関心の目安であり、品質の保証ではありません。
- 利用前に GitHub で README、ライセンス、Issues を確認します。
情報源と管理
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗