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

Native API C bindings for Flutter

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