This web application provides a convenient interface for generating Dart:ffi bindings from C headers using the package:ffigen
library. Simply paste your C header into the left textbox, and the corresponding Dart:ffi bindings will be displayed in the right textbox.
- Simple Interface: Easy-to-use web interface for generating Dart:ffi bindings.
- Real-time Updates: See the Dart:ffi bindings update in real-time as you paste your C header.
- Copy-Paste Ready: Copy the generated Dart:ffi bindings with a single click.
- Paste your C header into the textbox on the left.
-
Wait for the Dart:ffi bindings to be generated and displayed on the right.
-
Copy the generated Dart:ffi bindings and use them in your Dart projects.
- Clone this repository to your local machine
- Navigate to the project directory
- Install dependencies by running
flutter pub get
- Run server.dart and main.dart with
flutter run lib/server.dart
andflutter run lib/main.dart
respectively - See the Dart:ffi bindings update in real-time as you paste your C header