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

Raw Dart FFI bindings to the nativeapi C API. The native library is built from source by a build hook.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add cnativeapi

With Flutter:

 $ flutter pub add cnativeapi

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  cnativeapi: ^0.4.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:cnativeapi/cnativeapi.dart';
2
likes
160
points
4.48k
downloads

Documentation

API reference

Publisher

verified publisherleanflutter.dev

Weekly Downloads

Raw Dart FFI bindings to the nativeapi C API. The native library is built from source by a build hook.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

code_assets, ffi, hooks, logging, native_toolchain_c

More

Packages that depend on cnativeapi