ffigen.yaml.tmpl 579 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
# Run with `flutter pub run ffigen --config ffigen.yaml`.
name: {{pluginDartClass}}Bindings
description: |
  Bindings for `src/{{projectName}}.h`.

  Regenerate bindings with `flutter pub run ffigen --config ffigen.yaml`.
output: 'lib/{{projectName}}_bindings_generated.dart'
headers:
  entry-points:
    - 'src/{{projectName}}.h'
  include-directives:
    - 'src/{{projectName}}.h'
ffi-native:
preamble: |
  // ignore_for_file: always_specify_types
  // ignore_for_file: camel_case_types
  // ignore_for_file: non_constant_identifier_names
comments:
  style: any
  length: full