flutter_zig_bridge 0.1.1 copy "flutter_zig_bridge: ^0.1.1" to clipboard
flutter_zig_bridge: ^0.1.1 copied to clipboard

A Flutter package bridging Dart and Zig via FFI. Automatically compiles Zig code during the Flutter build using Dart build hooks.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_zig_bridge

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  flutter_zig_bridge: ^0.1.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:flutter_zig_bridge/flutter_zig_bridge.dart';
0
likes
150
points
145
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package bridging Dart and Zig via FFI. Automatically compiles Zig code during the Flutter build using Dart build hooks.

Repository (GitHub)
View/report issues

Topics

#zig #ffi #interop #native-assets

License

MIT (license)

Dependencies

code_assets, ffi, flutter, hooks, logging, path

More

Packages that depend on flutter_zig_bridge