A very simple example, generates bindings for a very small header file (headers/example.h).
headers/example.h
At the root of this example (example/simple), run -
example/simple
dart run ffigen --config config.yaml
This will generate bindings in a file: generated_bindings.dart.