cnativeapi

Native API C bindings for Flutter, auto-generated via ffigen from the libnativeapi C library.

This package provides low-level FFI bindings and is typically used as an internal dependency of nativeapi. You generally don't need to depend on it directly.

Platform Support

Android iOS Linux macOS Windows

Usage

If you need to use the raw C bindings directly:

import 'package:cnativeapi/cnativeapi.dart';

For higher-level Dart APIs, use the nativeapi package instead.

Regenerating Bindings

Bindings are generated from C headers using ffigen. To regenerate:

cd packages/cnativeapi
dart run ffigen --config ffigen.yaml

Regeneration is needed when:

License

MIT

Libraries

cnativeapi